R13B02 builds with older versions of wxGTK, e.g. 2.8.4

View: New views
2 Messages — Rating Filter:   Alert me  

R13B02 builds with older versions of wxGTK, e.g. 2.8.4

by Nico Kruber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

attached is a patch I created so that the current release (R13B02) builds with
at least wxGTK 2.8.4, used by Mandriva 2008 and openSUSE 10.3.


Regards,
Nico Kruber

[otp-R13B02-wxevt.patch]

diff -U 3 -H -d -r -N -- otp_src_R13B02-1/lib/wx/c_src/gen/wxe_events.cpp otp_src_R13B02-1.wxevt/lib/wx/c_src/gen/wxe_events.cpp
--- otp_src_R13B02-1/lib/wx/c_src/gen/wxe_events.cpp 2009-09-18 16:10:53.000000000 +0200
+++ otp_src_R13B02-1.wxevt/lib/wx/c_src/gen/wxe_events.cpp 2009-10-21 11:21:19.863447109 +0200
@@ -274,6 +274,7 @@
    {wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 211, "command_auinotebook_end_drag"},
    {wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 211, "command_auinotebook_drag_motion"},
    {wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 211, "command_auinotebook_allow_dnd"},
+#if wxCHECK_VERSION(2,8,5)
    {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN, 211, "command_auinotebook_tab_middle_down"},
    {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP, 211, "command_auinotebook_tab_middle_up"},
    {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN, 211, "command_auinotebook_tab_right_down"},
@@ -281,6 +282,7 @@
    {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED, 211, "command_auinotebook_page_closed"},
    {wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE, 211, "command_auinotebook_drag_done"},
    {wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK, 211, "command_auinotebook_bg_dclick"},
+#endif
    {wxEVT_AUI_PANE_BUTTON, 212, "aui_pane_button"},
    {wxEVT_AUI_PANE_CLOSE, 212, "aui_pane_close"},
    {wxEVT_AUI_PANE_MAXIMIZE, 212, "aui_pane_maximize"},



signature.asc (205 bytes) Download Attachment

Re: R13B02 builds with older versions of wxGTK, e.g. 2.8.4

by Dan Gudmundsson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the patch, I will have a look at how to solve that.
Unfortunately it isn't that easy, since that code is generated.

/Dan

On Wed, Oct 21, 2009 at 4:30 PM, Nico Kruber <kruber@...> wrote:
> attached is a patch I created so that the current release (R13B02) builds with
> at least wxGTK 2.8.4, used by Mandriva 2008 and openSUSE 10.3.
>
>
> Regards,
> Nico Kruber
>

________________________________________________________________
erlang-bugs mailing list. See http://www.erlang.org/faq.html
erlang-bugs (at) erlang.org