Alien-wxWidgets

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

patches/data-2.9.0
patches/data-2.9.1
patches/data-2.9.2
patches/data-2.9.3
patches/data-2.9.4
patches/data-3.0.0
patches/data-3.0.1
patches/data-3.0.2
patches/wxGTK-2.8.12-dirdialog.patch
patches/wxGTK-2.9.4-dirdialog.patch
patches/wxMac-2.8.10-fontdlg.patch
patches/wxMac-2.8.3-brokengcc.patch
patches/wxMac-2.9.0-textctrl.patch
patches/wxMSW-2.8.0-config.patch
patches/wxMSW-2.8.0-makefiles.patch
patches/wxMSW-2.8.0-setup.patch
patches/wxMSW-2.8.0-setup_u.patch
patches/wxMSW-2.8.10-config.patch
patches/wxMSW-2.8.10-makefiles.patch
patches/wxMSW-2.8.10-version.patch
patches/wxMSW-2.8.10-w64-mslu.patch

patches/data-2.8.10  view on Meta::CPAN

wxMSW-2.8.10-version.patch
wxMSW-2.8.10-w64-mslu.patch
wxMSW-2.8.10-w64-winhash.patch
wxMSW-2.8.10-w64.patch
wxMSW-2.8.10-w64-stc.patch
wxMSW-2.9.0-w64-filefn.patch
                               ), @common ],
               },
  mac     => { unicode => [ qw(
wxMac-2.8.3-brokengcc.patch
wxMac-2.8.10-fontdlg.patch
                               ), @common ],
               ansi    => [ qw(
wxMac-2.8.3-brokengcc.patch
wxMac-2.8.10-fontdlg.patch
                               ), @common ],
               },
  unix    => { unicode => [ qw(
wxWidgets-2.8.10-gsocket.patch
                               ), @common ],
               ansi    => [ qw(
wxWidgets-2.8.10-gsocket.patch
                               ), @common ],
               },
  data    => { url  => ( sprintf '%s/%s-%s.%s', $URL, $BASE, $VERSION, $TYPE ),

patches/wxMSW-2.8.0-setup.patch  view on Meta::CPAN

--- include/wx/msw/setup.h	2006-12-11 22:50:35.000000000 +0100
+++ include/wx/msw/setup.h	2007-02-25 19:39:56.000000000 +0100
@@ -43,7 +43,7 @@
 // in the version after it completely.
 //
 // Recommended setting: 0 (please update your code)
-#define WXWIN_COMPATIBILITY_2_6 1
+#define WXWIN_COMPATIBILITY_2_6 0
 
 // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
 // default system font is used for wxWindow::GetCharWidth/Height() instead of
@@ -157,7 +157,7 @@
 //
 // Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
 #ifndef wxUSE_UNICODE
-    #define wxUSE_UNICODE 0
+    #define wxUSE_UNICODE 0
 #endif
 
 // Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
@@ -335,7 +335,7 @@

patches/wxMSW-2.8.0-setup_u.patch  view on Meta::CPAN

--- include/wx/msw/setup.h	2006-12-11 22:50:35.000000000 +0100
+++ include/wx/msw/setup.h	2007-02-25 19:39:56.000000000 +0100
@@ -43,7 +43,7 @@
 // in the version after it completely.
 //
 // Recommended setting: 0 (please update your code)
-#define WXWIN_COMPATIBILITY_2_6 1
+#define WXWIN_COMPATIBILITY_2_6 0
 
 // MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
 // default system font is used for wxWindow::GetCharWidth/Height() instead of
@@ -157,7 +157,7 @@
 //
 // Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
 #ifndef wxUSE_UNICODE
-    #define wxUSE_UNICODE 0
+    #define wxUSE_UNICODE 1
 #endif
 
 // Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
@@ -335,7 +335,7 @@

patches/wxMSW-2.8.10-w64-stc.patch  view on Meta::CPAN

         char* buff = new char[len+1];
         strm.CopyTo(buff, len);
         buff[len] = 0;
-        SendMsg(2049, markerNumber, (long)buff);
+        SendMsg(2049, markerNumber, (sptr_t)buff);
         delete [] buff;
         
 }
@@ -612,7 +612,7 @@
 
 // Set the font of a style.
 void wxStyledTextCtrl::StyleSetFaceName(int style, const wxString& fontName) {
-    SendMsg(2056, style, (long)(const char*)wx2stc(fontName));
+    SendMsg(2056, style, (wxIntPtr)(const char*)wx2stc(fontName));
 }
 
 // Set a style to have its end of line filled or not.
@@ -682,7 +682,7 @@
 
 // Set the styles for a segment of the document.
 void wxStyledTextCtrl::SetStyleBytes(int length, char* styleBytes) {
-        SendMsg(2073, length, (long)styleBytes);
+        SendMsg(2073, length, (sptr_t)styleBytes);
 }

patches/wxMac-2.8.10-fontdlg.patch  view on Meta::CPAN

diff -u src/mac/carbon/fontdlgosx.mm src/mac/carbon/fontdlgosx.mm
--- src/mac/carbon/fontdlgosx.mm	2007/01/22 21:46:14	44296
+++ src/mac/carbon/fontdlgosx.mm	2009/09/01 13:36:08	61800
@@ -169,7 +169,11 @@
 
     NSModalSession session = [NSApp beginModalSessionForWindow:fontPanel];
 
-    [NSApp runModalSession:session];
+    for (;;)
+    {
+        if ([NSApp runModalSession:session] != NSRunContinuesResponse)
+            break;
+    }
 
     [NSApp endModalSession:session];
 



( run in 2.152 seconds using v1.01-cache-2.11-cpan-5735350b133 )