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:
@@ -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,
|
||||||
|
@@ -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,
|
||||||
|
@@ -52,7 +52,7 @@
|
|||||||
// wxWin macros
|
// wxWin macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxCursorBase)
|
IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxGDIObject)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// globals
|
// globals
|
||||||
|
@@ -175,10 +175,10 @@ private:
|
|||||||
// wxWin macros
|
// wxWin macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
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
|
||||||
|
@@ -49,7 +49,7 @@
|
|||||||
// wxWin macros
|
// wxWin macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxIconBase)
|
IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxGDIObject)
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
|
@@ -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
|
||||||
|
@@ -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()
|
||||||
|
Reference in New Issue
Block a user