Ryan's patch 1468129 ,

1) Don't hog mouse events from other windows
2) Don't crash on mouse and other events when a bad file is loaded
3) Correctly detect whether a file can be loaded or not (Forgot to call ::ClearMoviesStickyError())
4) Real workaround for the wxNotebook issue (by using offscreen GWorld)
5) Nuke of CreateMovieControl version and many other cleanups


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-04-11 05:53:55 +00:00
parent 786a9df157
commit 0c81ef7fce
3 changed files with 271 additions and 307 deletions

View File

@@ -215,6 +215,7 @@ public:
bool LoadURIWithProxy(const wxString& fileName, const wxString& proxy)
{ return Load(wxURI(fileName), wxURI(proxy)); }
#endif
protected:
static wxClassInfo* NextBackend();
@@ -224,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
@@ -318,7 +322,8 @@ public:
virtual wxLongLong GetDownloadTotal()
{ return 0; }
virtual void RESERVED8() {}
virtual void MacVisibilityChanged()
{ }
virtual void RESERVED9() {}
DECLARE_DYNAMIC_CLASS(wxMediaBackend)