X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c105dda0810d927d8531e4949ada0b407a1cbebd..992527a5738f7fb629d2aaeee64cfc733ddb7e1c:/include/wx/hyperlink.h diff --git a/include/wx/hyperlink.h b/include/wx/hyperlink.h index 586f1c583d..6f9db016ca 100644 --- a/include/wx/hyperlink.h +++ b/include/wx/hyperlink.h @@ -69,12 +69,8 @@ public: // wxWindow::Get/SetFont, wxWindow::Get/SetCursor are important ! protected: -#ifdef __WXDEBUG__ // checks for validity some of the ctor/Create() function parameters void CheckParams(const wxString& label, const wxString& url, long style); -#else - void CheckParams() {} -#endif public: // not part of the public API but needs to be public as used by @@ -82,6 +78,9 @@ public: void SendEvent(); }; +#ifndef __WXDEBUG__ +inline void wxHyperlinkCtrlBase::CheckParams(const wxString&, const wxString&, long) { } +#endif // ---------------------------------------------------------------------------- // wxHyperlinkEvent