From 6c3422e90992d1330a8b412206d3381f63d2d29e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 3 Jan 2002 16:01:02 +0000 Subject: [PATCH] added wxRTTI macros to wxPopupComboWindow and wxPopupTransientWindow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/popupwin.h | 4 ++++ src/common/popupcmn.cpp | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index accdde8d5d..896e6f18f5 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -111,6 +111,8 @@ protected: friend class wxPopupWindowHandler; friend class wxPopupFocusHandler; + + DECLARE_DYNAMIC_CLASS(wxPopupTransientWindow) }; #if wxUSE_COMBOBOX && defined(__WXUNIVERSAL__) @@ -138,6 +140,8 @@ protected: // the parent combobox wxComboControl *m_combo; + + DECLARE_DYNAMIC_CLASS(wxPopupComboWindow) }; #endif // wxUSE_COMBOBOX && defined(__WXUNIVERSAL__) diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 55dcc2daa9..c78d74bcc4 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -46,6 +46,9 @@ IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow) #endif // __WXMSW__ +IMPLEMENT_DYNAMIC_CLASS(wxPopupTransientWindow, wxPopupWindow) +IMPLEMENT_DYNAMIC_CLASS(wxPopupComboWindow, wxPopupTransientWindow) + // ---------------------------------------------------------------------------- // private classes // ---------------------------------------------------------------------------- -- 2.45.2