X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af1337b041be734b7e64bcf7a06086268ae6895e..6c24d95cf93efbcdc8aeab1333e076761dc3582a:/samples/xrc/derivdlg.cpp?ds=inline diff --git a/samples/xrc/derivdlg.cpp b/samples/xrc/derivdlg.cpp index a9a719c49d..b784e322b4 100644 --- a/samples/xrc/derivdlg.cpp +++ b/samples/xrc/derivdlg.cpp @@ -61,7 +61,7 @@ END_EVENT_TABLE() // Constructor (Notice how small and easy it is) PreferencesDialog::PreferencesDialog(wxWindow* parent) { - wxXmlResource::Get()->LoadDialog(this, parent, "derived_dialog"); + wxXmlResource::Get()->LoadDialog(this, parent, wxT("derived_dialog")); } // Destructor. (Empty, as I don't need anything special done when destructing). @@ -73,7 +73,7 @@ PreferencesDialog::~PreferencesDialog() // Private members (including the event handlers) //----------------------------------------------------------------------------- -void PreferencesDialog::OnMyButtonClicked( wxCommandEvent &event ) +void PreferencesDialog::OnMyButtonClicked( wxCommandEvent &WXUNUSED(event) ) { // Construct a message dialog. wxMessageDialog msgDlg(this, _("You clicked on My Button")); @@ -85,7 +85,7 @@ void PreferencesDialog::OnMyButtonClicked( wxCommandEvent &event ) // Update the enabled/disabled state of the edit/delete buttons depending on // whether a row (item) is selected in the listctrl -void PreferencesDialog::OuUpdateUIMyCheckbox( wxUpdateUIEvent &event ) +void PreferencesDialog::OuUpdateUIMyCheckbox( wxUpdateUIEvent &WXUNUSED(event) ) { // Get a boolean value of whether the checkbox is checked bool myCheckBoxIsChecked; @@ -102,7 +102,7 @@ void PreferencesDialog::OuUpdateUIMyCheckbox( wxUpdateUIEvent &event ) } -void PreferencesDialog::OnOK( wxCommandEvent& event ) +void PreferencesDialog::OnOK( wxCommandEvent& WXUNUSED(event) ) { // Construct a message dialog (An extra parameters to put a cancel button on). wxMessageDialog msgDlg2(this, _("Press OK to close Derived dialog, or Cancel to abort"),