X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..51181d291194b7ae616cfb17c984fd8927e4a977:/include/wx/univ/toplevel.h?ds=sidebyside diff --git a/include/wx/univ/toplevel.h b/include/wx/univ/toplevel.h index a13d5c978b..d72d9ac85a 100644 --- a/include/wx/univ/toplevel.h +++ b/include/wx/univ/toplevel.h @@ -153,7 +153,7 @@ public: virtual wxSize GetMinSize() const; - virtual wxWindow *GetInputWindow() const { return wx_const_cast(wxTopLevelWindow*, this); } + virtual wxWindow *GetInputWindow() const { return const_cast(this); } protected: virtual void DoGetClientSize(int *width, int *height) const;