non-debug build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-03-08 04:26:10 +00:00
parent fd91cec141
commit 7450674943

View File

@@ -69,12 +69,8 @@ public:
// wxWindow::Get/SetFont, wxWindow::Get/SetCursor are important ! // wxWindow::Get/SetFont, wxWindow::Get/SetCursor are important !
protected: protected:
#ifdef __WXDEBUG__
// checks for validity some of the ctor/Create() function parameters // checks for validity some of the ctor/Create() function parameters
void CheckParams(const wxString& label, const wxString& url, long style); void CheckParams(const wxString& label, const wxString& url, long style);
#else
void CheckParams() {}
#endif
public: public:
// not part of the public API but needs to be public as used by // not part of the public API but needs to be public as used by
@@ -82,6 +78,9 @@ public:
void SendEvent(); void SendEvent();
}; };
#ifndef __WXDEBUG__
inline void wxHyperlinkCtrlBase::CheckParams(const wxString&, const wxString&, long) { }
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxHyperlinkEvent // wxHyperlinkEvent