Fix wxDataViewCtrl::GetMainWindow() signature on OS X.

Return wxWindow* as other ports do, not wxControl*.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2012-01-14 16:52:01 +00:00
parent 5313727812
commit 50703c1a72

View File

@@ -150,7 +150,7 @@ public:
const wxValidator& validator = wxDefaultValidator, const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxDataViewCtrlNameStr); const wxString& name = wxDataViewCtrlNameStr);
virtual wxControl* GetMainWindow() // not used for the native implementation virtual wxWindow* GetMainWindow() // not used for the native implementation
{ {
return this; return this;
} }