From: Václav Slavík Date: Sat, 28 Jul 2001 22:39:51 +0000 (+0000) Subject: wxMGL compilation fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/386c70583a2c03548aad922205906e58555a302d wxMGL compilation fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/window.h b/include/wx/window.h index 549e6a61c5..7c90cd042d 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -984,6 +984,14 @@ private: #define sm_classwxWindowGTK sm_classwxWindow #endif // wxUniv #include "wx/gtk/window.h" +#elif defined(__WXGL__) + #ifdef __WXUNIVERSAL__ + #define wxWindowNative wxWindowMGL + #else // !wxUniv + #define wxWindowMGL wxWindow + #define sm_classwxWindowMGL sm_classwxWindow + #endif // wxUniv + #include "wx/mgl/window.h" #elif defined(__WXQT__) #include "wx/qt/window.h" #elif defined(__WXMAC__)