Patch #1424 2006-08-28 21:52
afb
Placeholders for wxMac in contrib plugins- Download
- 1424-Placeholders_f.patch (1.6 KB)
--- src/plugins/contrib/dragscroll/dragscroll.cpp.orig 2006-08-28 20:58:32.000000000 +0200
+++ src/plugins/contrib/dragscroll/dragscroll.cpp 2006-08-28 22:04:40.000000000 +0200
@@ -1156,5 +1156,18 @@
}//OnMouseEvent
#endif //__WXGTK__ scrolling
// ----------------------------------------------------------------------------
-// end __WXGTK__ scrolling
+// MOUSE SCROLLING for __WXMAC__
+// ----------------------------------------------------------------------------
+#ifdef __WXMAC__
+void MyMouseEvents::OnMouseEvent(wxMouseEvent& event) //Mac
+{
+#warning MyMouseEvents::OnMouseEvent is still TODO
+
+ // pass on the event
+ event.Skip();
+
+}//OnMouseEvent
+#endif //__WXMAC__ scrolling
+// ----------------------------------------------------------------------------
+// end mouse scrolling
// ----------------------------------------------------------------------------
--- src/plugins/contrib/keybinder/menuutils.cpp.orig 2006-08-28 20:58:33.000000000 +0200
+++ src/plugins/contrib/keybinder/menuutils.cpp 2006-08-28 22:17:25.000000000 +0200
@@ -217,6 +217,14 @@
}//RebuildMenuitem
#endif //#if defined( __WXMSW__ )
+#if defined( __WXMAC__ )
+// ----------------------------------------------------------------------------
+void wxMenuCmd::Update(wxMenuItem* pSpecificMenuItem) // for __WXMAC__
+{
+#warning wxMenuCmd::Update is still TODO
+}
+#endif //update for __WXMAC__
+
// ----------------------------------------------------------------------------
void wxMenuCmd::Exec(wxObject *origin, wxEvtHandler *client)
// ----------------------------------------------------------------------------
History
Just so that I can --enable-contrib without it dying in make
I dont understand why you're doing this.
I've been compiling and running both dragscroll and keybinder on my ppc mac for over two months without changes.
could you please indicate what errors you're getting?
pecan
I dont understand why you're doing this.
I've been compiling and running both dragscroll and keybinder on my ppc mac for over two months without changes.
could you please indicate what errors you're getting?
pecan
I got link errors, since those functions only had versions for __WXMSW__ and __WXGTK__ - this was just a hack to add stubs for __WXMAC__ too
But if there are no need for them - the better, this was just a workaround
I've re-added the MAC fixes for both Dragscroll and Keybinder.
Test under OS X 10.3.