From: SourceForge.net <no...@so...> - 2006-05-01 22:05:07
|
Patches item #1480054, was opened at 2006-05-01 15:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=315655&aid=1480054&group_id=15655 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: John Ralls (jralls) Assigned to: Nobody/Anonymous (nobody) Summary: OSX Compatibility with latest wxWidgets CVS HEAD Initial Comment: A few minor changes needed to get wxPerl running with the latest (1May2006) CVS HEAD. MacSetMetalAppearance was recently made private. wxHOURGLASS_CURSOR is defined to a function which returns a const wxCursor*, and for that matter the wxBusyCursor ctor takes a const wxCursor. wx/mediactrl.h has a preprocessor guard statement checking for the existance of wxUSE_MEDIACTRL; if it's not defined including the header is a no-op. --- typemap 2005-10-16 21:03:40.000000000 -0800 +++ typemap 2006-05-01 14:11:08.000000000 -0700 @@ -284,6 +284,7 @@ wxBitmap * O_WXOBJECT Wx_Cursor * O_WXOBJECT wxCursor * O_WXOBJECT +const wxCursor * O_WXOBJECT wxToolTip * O_WXOBJECT Wx_Pen * O_WXOBJECT wxPen * O_WXOBJECT --- XS/Frame.xs 2005-11-22 22:31:57.000000000 -0800 +++ XS/Frame.xs 2006-05-01 14:31:47.000000000 -0700 @@ -138,7 +138,7 @@ wxFrame::Maximize( maximize ) bool maximize -#if defined( __WXMAC__ ) && WXPERL_W_VERSION_GE( 2, 5, 2 ) +#if defined( __WXMAC__ ) && WXPERL_W_VERSION_GE( 2, 5, 2 ) && !WXPERL_W_VERSION_GE( 2, 7, 0 ) void wxFrame::MacSetMetalAppearance( ismetal ) --- Wx.xs 2006-03-10 19:28:32.000000000 -0700 +++ Wx.xs 2006-05-01 14:24:12.000000000 -0700 @@ -29,6 +29,7 @@ #if WXPERL_W_VERSION_GE( 2, 5, 2 ) \ && (defined(__DARWIN__) || defined(__UNIX__)) #define HACK +#define wxUSE_MEDIACTRL 1 #include <wx/html/htmlwin.h> #include <wx/mediactrl.h> #endif @@ -316,8 +317,8 @@ wxString string CODE: #ifdef HACK - delete new wxHtmlWindow(); - delete new wxMediaCtrl(); + delete new wxHtmlWindow; + delete new wxMediaCtrl; #endif RETVAL = wxPluginManager::LoadLibrary( string, wxDL_VERBATIM ); OUTPUT: --- XS/Utils.xs 2006-02-06 18:44:38.000000000 -0700 +++ XS/Utils.xs 2006-05-01 14:09:45.000000000 -0700 @@ -68,7 +68,7 @@ wxBusyCursor* wxBusyCursor::new( cursor = wxHOURGLASS_CURSOR ) - wxCursor* cursor + const wxCursor* cursor void wxBusyCursor::DESTROY() ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=315655&aid=1480054&group_id=15655 |