wxGTK compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-07-27 14:09:25 +00:00
parent ca17eff36b
commit d9ea011f4d
7 changed files with 10 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ wxControl::wxControl( wxWindow *parent,
void wxControl::SetLabel( const wxString &label )
{
m_label = _T("");
m_label.Empty();
for ( const wxChar *pc = label; *pc != _T('\0'); pc++ )
{
if ( *pc == _T('&') )