X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67d947ba89b176c05c7707f44e4381bdef0f21c8..963907fa8fbeea14a9c412d90bf938fbd59583ce:/src/univ/checkbox.cpp diff --git a/src/univ/checkbox.cpp b/src/univ/checkbox.cpp index c15ebca4ba..e80d036343 100644 --- a/src/univ/checkbox.cpp +++ b/src/univ/checkbox.cpp @@ -6,7 +6,7 @@ // Created: 25.08.00 // RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "univcheckbox.h" #endif @@ -67,11 +67,9 @@ bool wxCheckBox::Create(wxWindow *parent, const wxValidator& validator, const wxString &name) { - if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) + if ( !wxControl::Create(parent, id, pos, size, style, validator, name) ) return FALSE; - m_hasDialogBackground = TRUE; - SetLabel(label); SetBestSize(size); @@ -281,7 +279,7 @@ wxStdCheckboxInputHandler::wxStdCheckboxInputHandler(wxInputHandler *inphand) } bool wxStdCheckboxInputHandler::HandleActivation(wxInputConsumer *consumer, - bool activated) + bool WXUNUSED(activated)) { // only the focused checkbox appearance changes when the app gains/loses // activation