]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/combobox.h
fixed modal dialogs after event loop change
[wxWidgets.git] / include / wx / msw / combobox.h
index 3a1877a3038b1aa5ea70e53ef2a4a9b0f0032a1a..a369165d75fae3812109200127966ad3b8febd31 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_COMBOBOX_H_
 #define _WX_COMBOBOX_H_
 
 #ifndef _WX_COMBOBOX_H_
 #define _WX_COMBOBOX_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "combobox.h"
 #endif
 
     #pragma interface "combobox.h"
 #endif
 
 
 #if wxUSE_COMBOBOX
 
 
 #if wxUSE_COMBOBOX
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxComboBoxNameStr;
-WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
-
 // ----------------------------------------------------------------------------
 // Combobox control
 // ----------------------------------------------------------------------------
 
 class WXDLLEXPORT wxComboBox: public wxChoice
 {
 // ----------------------------------------------------------------------------
 // Combobox control
 // ----------------------------------------------------------------------------
 
 class WXDLLEXPORT wxComboBox: public wxChoice
 {
-    DECLARE_DYNAMIC_CLASS(wxComboBox)
-
 public:
     wxComboBox() { }
 
 public:
     wxComboBox() { }
 
@@ -85,8 +80,8 @@ public:
 
     WXHWND GetEditHWND() const;
 
 
     WXHWND GetEditHWND() const;
 
-protected:
-    virtual wxSize DoGetBestSize() const;
+private:
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxComboBox)
 };
 
 #endif // wxUSE_COMBOBOX
 };
 
 #endif // wxUSE_COMBOBOX