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:
@@ -82,7 +82,7 @@ extern wxPrintPaperDatabase *wxThePrintPaperDatabase;
|
||||
// wxPostScriptNativeData
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_CLASS(wxPostScriptPrintNativeData, wxPrintNativeDataBase)
|
||||
wxIMPLEMENT_CLASS(wxPostScriptPrintNativeData, wxPrintNativeDataBase);
|
||||
|
||||
wxPostScriptPrintNativeData::wxPostScriptPrintNativeData()
|
||||
{
|
||||
@@ -129,13 +129,13 @@ bool wxPostScriptPrintNativeData::TransferFrom( const wxPrintData &WXUNUSED(data
|
||||
// Generic print dialog for non-Windows printing use.
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_CLASS(wxGenericPrintDialog, wxPrintDialogBase)
|
||||
wxIMPLEMENT_CLASS(wxGenericPrintDialog, wxPrintDialogBase);
|
||||
|
||||
BEGIN_EVENT_TABLE(wxGenericPrintDialog, wxPrintDialogBase)
|
||||
wxBEGIN_EVENT_TABLE(wxGenericPrintDialog, wxPrintDialogBase)
|
||||
EVT_BUTTON(wxID_OK, wxGenericPrintDialog::OnOK)
|
||||
EVT_BUTTON(wxPRINTID_SETUP, wxGenericPrintDialog::OnSetup)
|
||||
EVT_RADIOBOX(wxPRINTID_RANGE, wxGenericPrintDialog::OnRange)
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
wxGenericPrintDialog::wxGenericPrintDialog(wxWindow *parent,
|
||||
wxPrintDialogData* data)
|
||||
@@ -439,11 +439,11 @@ wxDC *wxGenericPrintDialog::GetPrintDC()
|
||||
// Generic print setup dialog
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_CLASS(wxGenericPrintSetupDialog, wxDialog)
|
||||
wxIMPLEMENT_CLASS(wxGenericPrintSetupDialog, wxDialog);
|
||||
|
||||
BEGIN_EVENT_TABLE(wxGenericPrintSetupDialog, wxDialog)
|
||||
wxBEGIN_EVENT_TABLE(wxGenericPrintSetupDialog, wxDialog)
|
||||
EVT_LIST_ITEM_ACTIVATED(wxPRINTID_PRINTER, wxGenericPrintSetupDialog::OnPrinter)
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
wxGenericPrintSetupDialog::wxGenericPrintSetupDialog(wxWindow *parent, wxPrintData* data):
|
||||
wxDialog(parent, wxID_ANY, _("Print Setup"), wxPoint(0,0), wxSize(600, 600), wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL)
|
||||
@@ -815,11 +815,11 @@ wxComboBox *wxGenericPrintSetupDialog::CreatePaperTypeChoice()
|
||||
// Generic page setup dialog
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_CLASS(wxGenericPageSetupDialog, wxPageSetupDialogBase)
|
||||
wxIMPLEMENT_CLASS(wxGenericPageSetupDialog, wxPageSetupDialogBase);
|
||||
|
||||
BEGIN_EVENT_TABLE(wxGenericPageSetupDialog, wxPageSetupDialogBase)
|
||||
wxBEGIN_EVENT_TABLE(wxGenericPageSetupDialog, wxPageSetupDialogBase)
|
||||
EVT_BUTTON(wxPRINTID_SETUP, wxGenericPageSetupDialog::OnPrinter)
|
||||
END_EVENT_TABLE()
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
wxGenericPageSetupDialog::wxGenericPageSetupDialog( wxWindow *parent,
|
||||
wxPageSetupDialogData* data)
|
||||
|
||||
Reference in New Issue
Block a user