]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hyperlink.h
Map illegal UTF-8 sequences to a range in Unicode's private use area as
[wxWidgets.git] / 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