]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
Combine two wxImage-to-pixmap creation functions into one.
[wxWidgets.git] / src / common / framecmn.cpp
index 6581648df7b70a960dc70a6920f4bdf4e4f48382..6c8b6ed1828f802761cc8d324da0f2952df538e6 100644 (file)
@@ -403,6 +403,7 @@ void wxFrameBase::SetStatusBar(wxStatusBar *statBar)
 
 #endif // wxUSE_STATUSBAR
 
+#if wxUSE_MENUS || wxUSE_TOOLBAR
 void wxFrameBase::DoGiveHelp(const wxString& text, bool show)
 {
 #if wxUSE_STATUSBAR
@@ -446,6 +447,7 @@ void wxFrameBase::DoGiveHelp(const wxString& text, bool show)
     wxUnusedVar(show);
 #endif // wxUSE_STATUSBAR
 }
+#endif // wxUSE_MENUS || wxUSE_TOOLBAR
 
 
 // ----------------------------------------------------------------------------