X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/243dbf1a5088be31980df51b97831b52cb6986cd..f07c570112746633faf3e1bb65ebef4b80dc4770:/include/wx/univ/combobox.h diff --git a/include/wx/univ/combobox.h b/include/wx/univ/combobox.h index 5ef092afbd..c92cea953e 100644 --- a/include/wx/univ/combobox.h +++ b/include/wx/univ/combobox.h @@ -36,7 +36,7 @@ #ifndef _WX_UNIV_COMBOBOX_H_ #define _WX_UNIV_COMBOBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univcombobox.h" #endif @@ -277,7 +277,7 @@ public: virtual int GetSelection() const; void SetSelection(int n) { Select(n); } - void SetStringSelection(const wxString& s) { } + void SetStringSelection(const wxString& WXUNUSED(s)) { } // we have to redefine these functions here to avoid ambiguities in classes // deriving from us which would arise otherwise because we inherit these