X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/557002cf8162a0073dbc7050732cb6d75e184148..9611686694f0449c7f7ced2e0badad9f04a22ea5:/include/wx/mediactrl.h diff --git a/include/wx/mediactrl.h b/include/wx/mediactrl.h index 9015d421ff..a8153a2808 100644 --- a/include/wx/mediactrl.h +++ b/include/wx/mediactrl.h @@ -22,9 +22,6 @@ // ---------------------------------------------------------------------------- // Pre-compiled header stuff // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "mediactrl.h" -#endif #include "wx/defs.h" @@ -154,7 +151,7 @@ public: { Create(parent, winid, location, pos, size, style, szBackend, validator, name); } - ~wxMediaCtrl(); + virtual ~wxMediaCtrl(); bool Create(wxWindow* parent, wxWindowID winid, const wxString& fileName = wxEmptyString, @@ -218,6 +215,7 @@ public: bool LoadURIWithProxy(const wxString& fileName, const wxString& proxy) { return Load(wxURI(fileName), wxURI(proxy)); } #endif + protected: static wxClassInfo* NextBackend(); @@ -227,6 +225,9 @@ protected: //FIXME: This is nasty... find a better way to work around //inheritance issues +#if defined(__WXMAC__) + virtual void MacVisibilityChanged(); +#endif #if defined(__WXMAC__) || defined(__WXCOCOA__) friend class wxQTMediaBackend; #endif @@ -321,7 +322,8 @@ public: virtual wxLongLong GetDownloadTotal() { return 0; } - virtual void RESERVED8() {} + virtual void MacVisibilityChanged() + { } virtual void RESERVED9() {} DECLARE_DYNAMIC_CLASS(wxMediaBackend)