wxRTTI for wxPopupWindow in wxMGL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-01-08 23:25:23 +00:00
parent 90c9fcc5fd
commit 159960c0e7
2 changed files with 5 additions and 2 deletions

View File

@@ -30,6 +30,9 @@ public:
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
(flags & wxBORDER_MASK) | wxPOPUP_WINDOW); (flags & wxBORDER_MASK) | wxPOPUP_WINDOW);
} }
protected:
DECLARE_DYNAMIC_CLASS(wxPopupWindow)
}; };
#endif // _WX_POPUPWIN_H_ #endif // _WX_POPUPWIN_H_

View File

@@ -40,9 +40,9 @@
#include "wx/univ/renderer.h" #include "wx/univ/renderer.h"
#endif // __WXUNIVERSAL__ #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 // probably could do it for all ports here just as well
#ifdef __WXMSW__ #if defined(__WXMSW__) || defined(__WXMGL__)
IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow) IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
#endif // __WXMSW__ #endif // __WXMSW__