]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/choice.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / univ / choice.h
index 0c98707ea069fcfb68d0b86075b4269348964bf0..a96d443d0215ac0b44388dccd3969ef2e5d89255 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_CHOICE_H_
 #define _WX_UNIV_CHOICE_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univchoice.h"
 #endif
 
@@ -43,8 +43,6 @@ public:
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString& name = wxChoiceNameStr);
     
-    void *GetClientData(int n) const { return wxItemContainer::GetClientData(n); }
-    
 private:
     void OnComboBox(wxCommandEvent &event);