fix compilation for GTK1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-03-05 15:58:10 +00:00
parent eaafd2f8b7
commit 393cbb8ff7
2 changed files with 4 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ wxSize wxControl::DoGetBestSize() const
return wxSize(req.width, req.height);
}
#ifdef __WXGTK20__
wxString wxControl::PrepareLabelMnemonics( const wxString &label ) const
{
//Format mnemonics properly for GTK2. This can be called from GTK1.x, but
@@ -124,6 +125,7 @@ wxString wxControl::PrepareLabelMnemonics( const wxString &label ) const
}
return label2;
}
#endif
#endif // wxUSE_CONTROLS

View File

@@ -83,6 +83,7 @@ wxSize wxControl::DoGetBestSize() const
return wxSize(req.width, req.height);
}
#ifdef __WXGTK20__
wxString wxControl::PrepareLabelMnemonics( const wxString &label ) const
{
//Format mnemonics properly for GTK2. This can be called from GTK1.x, but
@@ -124,6 +125,7 @@ wxString wxControl::PrepareLabelMnemonics( const wxString &label ) const
}
return label2;
}
#endif
#endif // wxUSE_CONTROLS