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:
@@ -24,21 +24,21 @@
|
||||
#include "customcombo.h"
|
||||
|
||||
|
||||
BEGIN_EVENT_TABLE(ListViewComboPopup, wxListView)
|
||||
wxBEGIN_EVENT_TABLE(ListViewComboPopup, wxListView)
|
||||
EVT_MOTION(ListViewComboPopup::OnMouseMove)
|
||||
// NOTE: Left down event is used instead of left up right now
|
||||
// since MSW wxListCtrl doesn't seem to emit left ups
|
||||
// consistently.
|
||||
EVT_LEFT_DOWN(ListViewComboPopup::OnMouseClick)
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
BEGIN_EVENT_TABLE(TreeCtrlComboPopup, wxTreeCtrl)
|
||||
wxBEGIN_EVENT_TABLE(TreeCtrlComboPopup, wxTreeCtrl)
|
||||
EVT_MOTION(TreeCtrlComboPopup::OnMouseMove)
|
||||
// NOTE: Left down event is used instead of left up right now
|
||||
// since MSW wxTreeCtrl doesn't seem to emit left ups
|
||||
// consistently.
|
||||
EVT_LEFT_DOWN(TreeCtrlComboPopup::OnMouseClick)
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
|
||||
|
||||
|
@@ -117,7 +117,7 @@ protected:
|
||||
int m_itemHere; // hot item in popup
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
|
||||
@@ -241,7 +241,7 @@ protected:
|
||||
wxTreeItemId m_itemHere; // hot item in popup
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
// ScreenshotApp
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_APP(ScreenshotApp);
|
||||
wxIMPLEMENT_APP(ScreenshotApp);
|
||||
|
||||
bool ScreenshotApp::OnInit()
|
||||
{
|
||||
|
Reference in New Issue
Block a user