IMPLEMENT_DYNAMIC_CLASS fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-02-06 01:42:02 +00:00
parent 1f42894286
commit 621b3e2127
7 changed files with 10 additions and 14 deletions

View File

@@ -667,7 +667,7 @@ static void gtk_menu_nolight_callback( GtkWidget *widget, wxMenu *menu )
// wxMenuItem // wxMenuItem
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxMenuItemBase) IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxMenuObject)
wxMenuItem *wxMenuItemBase::New(wxMenu *parentMenu, wxMenuItem *wxMenuItemBase::New(wxMenu *parentMenu,
int id, int id,

View File

@@ -667,7 +667,7 @@ static void gtk_menu_nolight_callback( GtkWidget *widget, wxMenu *menu )
// wxMenuItem // wxMenuItem
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxMenuItemBase) IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxMenuObject)
wxMenuItem *wxMenuItemBase::New(wxMenu *parentMenu, wxMenuItem *wxMenuItemBase::New(wxMenu *parentMenu,
int id, int id,

View File

@@ -52,7 +52,7 @@
// wxWin macros // wxWin macros
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxCursorBase) IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxGDIObject)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// globals // globals

View File

@@ -177,8 +177,8 @@ private:
IMPLEMENT_DYNAMIC_CLASS(wxBMPFileHandler, wxBitmapHandler) IMPLEMENT_DYNAMIC_CLASS(wxBMPFileHandler, wxBitmapHandler)
IMPLEMENT_DYNAMIC_CLASS(wxBMPResourceHandler, wxBitmapHandler) IMPLEMENT_DYNAMIC_CLASS(wxBMPResourceHandler, wxBitmapHandler)
IMPLEMENT_DYNAMIC_CLASS(wxICOFileHandler, wxGDIImageHandler) IMPLEMENT_DYNAMIC_CLASS(wxICOFileHandler, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxICOResourceHandler, wxGDIImageHandler) IMPLEMENT_DYNAMIC_CLASS(wxICOResourceHandler, wxObject)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// private functions // private functions

View File

@@ -49,7 +49,7 @@
// wxWin macros // wxWin macros
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxIconBase) IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxGDIObject)
// ============================================================================ // ============================================================================
// implementation // implementation

View File

@@ -72,11 +72,7 @@
// dynamic classes implementation // dynamic classes implementation
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
#if wxUSE_OWNER_DRAWN IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxObject)
IMPLEMENT_DYNAMIC_CLASS2(wxMenuItem, wxMenuItemBase, wxOwnerDrawn)
#else //!USE_OWNER_DRAWN
IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxMenuItemBase)
#endif //USE_OWNER_DRAWN
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxMenuItem // wxMenuItem

View File

@@ -37,7 +37,7 @@
#include <commctrl.h> #include <commctrl.h>
#endif #endif
IMPLEMENT_DYNAMIC_CLASS(wxSlider95, wxControl) IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
// Slider // Slider
wxSlider95::wxSlider95() wxSlider95::wxSlider95()