]> git.saurik.com Git - wxWidgets.git/commitdiff
non-debug build fix
authorPaul Cornett <paulcor@bullseye.com>
Thu, 8 Mar 2007 04:26:10 +0000 (04:26 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 8 Mar 2007 04:26:10 +0000 (04:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/hyperlink.h

index 586f1c583d1ea8844e5123fbe2af04520160c749..6f9db016ca133af25b98415efb08b5e3ace5319e 100644 (file)
@@ -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