[Mono-winforms-list] SWF-ComboBox Sample
Alexandre Pigolkine
pigolkine@gmx.de
22 Aug 2003 11:35:38 +0200
--=-OphozsslkJPGCvZCb6HC
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hello!
I updated the code for ComboBox, so the sample runs better now.
I made small change to the controls/combo.c file from WineLib.
Patch file is attached, it should be applied to the Wine-20030318
after the mono-wine.patch.
A Linux screenshot is here :
http://www.geocities.com/pigolkine/swf-combobox-linux.png
Alexandre
--=-OphozsslkJPGCvZCb6HC
Content-Disposition: attachment; filename=mono-wine.patch.1
Content-Type: text/x-patch; name=mono-wine.patch.1; charset=UTF-8
Content-Transfer-Encoding: 7bit
diff -Nru -x '*~' -x '*.o' -x '*.orig' -x '*.rej' -x '*.0' -x 'request*' -x '*.log' -x '*.status' wine-20030318.orig.patched/controls/combo.c wine-20030318.my/controls/combo.c
--- wine-20030318.orig.patched/controls/combo.c 2003-01-08 22:09:28.000000000 +0100
+++ wine-20030318.my/controls/combo.c 2003-08-22 10:09:33.000000000 +0200
@@ -97,7 +97,7 @@
static BOOL COMBO_Init()
{
HDC hDC;
-
+#ifndef MONO
if( hComboBmp ) return TRUE;
if( (hDC = CreateCompatibleDC(0)) )
{
@@ -124,6 +124,9 @@
return bRet;
}
return FALSE;
+#else
+ return TRUE;
+#endif
}
--=-OphozsslkJPGCvZCb6HC--