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:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user