]> git.saurik.com Git - wxWidgets.git/commitdiff
wxRTTI for wxPopupWindow in wxMGL
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 Jan 2002 23:25:23 +0000 (23:25 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 Jan 2002 23:25:23 +0000 (23:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mgl/popupwin.h
src/common/popupcmn.cpp

index fd56a9b5cb336f121df88f2faf4b1737a67a6f2a..890265fb59faf36deccdf45d3cd1ff1bbb9b6fb1 100644 (file)
@@ -30,6 +30,9 @@ public:
                                 wxDefaultPosition, wxDefaultSize,
                                 (flags & wxBORDER_MASK) | wxPOPUP_WINDOW);
     }
+
+protected:    
+    DECLARE_DYNAMIC_CLASS(wxPopupWindow)
 };
 
 #endif // _WX_POPUPWIN_H_
index b06a532c7a0956219697f7e26312b062be2b4665..0da4939868ec313f7346596b92427a507ed92843 100644 (file)
@@ -40,9 +40,9 @@
     #include "wx/univ/renderer.h"
 #endif // __WXUNIVERSAL__
 
-// there is no src/msw/popupwin.cpp to put this in, so we do it here - BTW we
+// there is no src/{msw,mgl}/popupwin.cpp to put this in, so we do it here - BTW we
 // probably could do it for all ports here just as well
-#ifdef __WXMSW__
+#if defined(__WXMSW__) || defined(__WXMGL__)
     IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
 #endif // __WXMSW__