]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use native GTK implementation in wxUniv builds
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Nov 2006 19:26:15 +0000 (19:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Nov 2006 19:26:15 +0000 (19:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/collpane.h
src/gtk/collpane.cpp

index ca8f6881bb80fe92a824d9c95cb67e099214f197..3148f8ba7edb6caf9c7f590746382688b81213b8 100644 (file)
@@ -90,7 +90,7 @@ typedef void (wxEvtHandler::*wxCollapsiblePaneEventFunction)(wxCollapsiblePaneEv
     wx__DECLARE_EVT1(wxEVT_COMMAND_COLLPANE_CHANGED, id, wxCollapsiblePaneEventHandler(fn))
 
 
-#if defined(__WXGTK24__)
+#if defined(__WXGTK24__) && !defined(__WXUNIVERSAL__)
     #include "wx/gtk/collpane.h"
 #else
     #include "wx/generic/collpaneg.h"
index 72e58cf528bf9b3d2056dfe1f40a819173758bb3..2ad79ed21d690a473cabc39367fadd8ef0a04453 100644 (file)
@@ -17,7 +17,7 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#if wxUSE_COLLPANE && defined( __WXGTK24__ )
+#if wxUSE_COLLPANE && defined(__WXGTK24__) && !defined(__WXUNIVERSAL__)
 
 #include "wx/collpane.h"
 #include "wx/gtk/private.h"
@@ -324,5 +324,5 @@ void wxCollapsiblePane::OnSize(wxSizeEvent &ev)
     m_pPane->Layout();
 }
 
-#endif //  wxUSE_COLLPANE && defined( __WXGTK24__ )
+#endif // wxUSE_COLLPANE && defined(__WXGTK24__) && !defined(__WXUNIVERSAL__)