added wxRTII macros to wxPopupWindow under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -42,6 +42,8 @@ protected:
|
||||
|
||||
GetParent()->ClientToScreen(x, y);
|
||||
}
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxPopupWindow)
|
||||
};
|
||||
|
||||
#endif // _WX_MSW_POPUPWIN_H_
|
||||
|
@@ -40,6 +40,12 @@
|
||||
#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
|
||||
// probably could do it for all ports here just as well
|
||||
#ifdef __WXMSW__
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
|
||||
#endif // __WXMSW__
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private classes
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -354,3 +360,4 @@ void wxPopupFocusHandler::OnKillFocus(wxFocusEvent& event)
|
||||
}
|
||||
|
||||
#endif // wxUSE_POPUPWIN
|
||||
|
||||
|
Reference in New Issue
Block a user