Use wx-prefixed macros throughout the repository.
Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE occurrences to use the wx-prefixed version of the macros.
This commit is contained in:
@@ -159,14 +159,14 @@ const char wxPropertyGridNameStr[] = "wxPropertyGrid";
|
||||
|
||||
class wxPGGlobalVarsClassManager : public wxModule
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxPGGlobalVarsClassManager)
|
||||
wxDECLARE_DYNAMIC_CLASS(wxPGGlobalVarsClassManager);
|
||||
public:
|
||||
wxPGGlobalVarsClassManager() {}
|
||||
virtual bool OnInit() wxOVERRIDE { wxPGGlobalVars = new wxPGGlobalVarsClass(); return true; }
|
||||
virtual void OnExit() wxOVERRIDE { wxDELETE(wxPGGlobalVars); }
|
||||
};
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxPGGlobalVarsClassManager, wxModule)
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(wxPGGlobalVarsClassManager, wxModule);
|
||||
|
||||
|
||||
// When wxPG is loaded dynamically after the application is already running
|
||||
@@ -259,9 +259,9 @@ void wxPropertyGridInitGlobalsIfNeeded()
|
||||
// wxPropertyGrid
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxPropertyGrid, wxControl)
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(wxPropertyGrid, wxControl);
|
||||
|
||||
BEGIN_EVENT_TABLE(wxPropertyGrid, wxControl)
|
||||
wxBEGIN_EVENT_TABLE(wxPropertyGrid, wxControl)
|
||||
EVT_IDLE(wxPropertyGrid::OnIdle)
|
||||
EVT_PAINT(wxPropertyGrid::OnPaint)
|
||||
EVT_SIZE(wxPropertyGrid::OnResize)
|
||||
@@ -279,7 +279,7 @@ BEGIN_EVENT_TABLE(wxPropertyGrid, wxControl)
|
||||
EVT_RIGHT_UP(wxPropertyGrid::OnMouseRightClick)
|
||||
EVT_LEFT_DCLICK(wxPropertyGrid::OnMouseDoubleClick)
|
||||
EVT_KEY_DOWN(wxPropertyGrid::OnKey)
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
@@ -6260,7 +6260,7 @@ wxPGChoiceEntry& wxPGChoicesData::Insert( int index,
|
||||
// wxPropertyGridEvent
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxPropertyGridEvent, wxCommandEvent)
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(wxPropertyGridEvent, wxCommandEvent);
|
||||
|
||||
|
||||
wxDEFINE_EVENT( wxEVT_PG_SELECTED, wxPropertyGridEvent );
|
||||
|
Reference in New Issue
Block a user