Incomplete wxUSE_* warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-03-24 17:49:56 +00:00
parent 396fb5091d
commit ddc80eb4eb
2 changed files with 5 additions and 1 deletions

View File

@@ -384,6 +384,8 @@ bool wxSimpleHelpProvider::ShowHelp(wxWindowBase *window)
return true; return true;
} }
#else
wxUnusedVar(window);
#endif // wxUSE_TIPWINDOW #endif // wxUSE_TIPWINDOW
return false; return false;

View File

@@ -184,7 +184,7 @@ bool wxHtmlHelpController::Initialize(const wxString& file)
wxString dir, filename, ext; wxString dir, filename, ext;
wxSplitPath(file, & dir, & filename, & ext); wxSplitPath(file, & dir, & filename, & ext);
if (!dir.IsEmpty()) if (!dir.empty())
dir = dir + wxFILE_SEP_PATH; dir = dir + wxFILE_SEP_PATH;
// Try to find a suitable file // Try to find a suitable file
@@ -239,6 +239,8 @@ bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint&
return true; return true;
} }
#else
wxUnusedVar(text);
#endif // wxUSE_TIPWINDOW #endif // wxUSE_TIPWINDOW
return false; return false;