]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpctrl.cpp
minor fix to the constraints of the cancel button to improve its sizing under wxUniv
[wxWidgets.git] / src / html / helpctrl.cpp
index e513a50f6377ab715d480f71a6d3f0c2facf3a6b..ad43374bd6f255454457e1cddb9689cb94360d14 100644 (file)
@@ -195,7 +195,7 @@ bool wxHtmlHelpController::DisplaySection(int sectionNo)
 
 bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint& WXUNUSED(pos))
 {
-#if wxUSE_HELP
+#if wxUSE_TIPWINDOW
     static wxTipWindow* s_tipWindow = NULL;
 
     if (s_tipWindow)
@@ -213,7 +213,8 @@ bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint&
 
         return TRUE;
     }
-#endif
+#endif // wxUSE_TIPWINDOW
+
     return FALSE;
 }