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:
Vadim Zeitlin
2002-01-02 23:18:11 +00:00
parent 15ce54dae1
commit eb729cd37a
2 changed files with 9 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ protected:
GetParent()->ClientToScreen(x, y);
}
DECLARE_DYNAMIC_CLASS(wxPopupWindow)
};
#endif // _WX_MSW_POPUPWIN_H_

View File

@@ -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