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:
@@ -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_
|
||||||
|
@@ -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__
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user