X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/243dbf1a5088be31980df51b97831b52cb6986cd..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/gtk1/choice.h diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index 5f550d732a..a6e0ecd1be 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -10,10 +10,12 @@ #ifndef __GTKCHOICEH__ #define __GTKCHOICEH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "choice.h" #endif +class WXDLLIMPEXP_BASE wxSortedArrayString; + //----------------------------------------------------------------------------- // wxChoice //----------------------------------------------------------------------------- @@ -69,6 +71,7 @@ protected: virtual wxSize DoGetBestSize() const; + virtual bool IsOwnGtkWindow( GdkWindow *window ); private: // common part of Create() and DoAppend() int GtkAddHelper(GtkWidget *menu, int pos, const wxString& item);