Remove "encoding" argument from string-oriented wxOSX functions
This was needed in ANSI build only and so isn't needed any longer now that it's not supported any more, so simplify the code and stop passing fonts/encodings everywhere when we don't actually need them at all.
This commit is contained in:
parent
31ac8012e4
commit
919a8cbb27
34 changed files with 104 additions and 128 deletions
|
|
@ -322,12 +322,12 @@ public :
|
|||
|
||||
virtual void SetDefaultButton( bool isDefault ) = 0;
|
||||
virtual void PerformClick() = 0;
|
||||
virtual void SetLabel( const wxString& title, wxFontEncoding encoding ) = 0;
|
||||
virtual void SetLabel( const wxString& title ) = 0;
|
||||
#if wxUSE_MARKUP && wxOSX_USE_COCOA
|
||||
virtual void SetLabelMarkup( const wxString& WXUNUSED(markup) ) { }
|
||||
#endif
|
||||
virtual void SetInitialLabel( const wxString& title, wxFontEncoding encoding )
|
||||
{ SetLabel(title, encoding); }
|
||||
virtual void SetInitialLabel( const wxString& title )
|
||||
{ SetLabel(title); }
|
||||
|
||||
virtual void SetCursor( const wxCursor & cursor ) = 0;
|
||||
virtual void CaptureMouse() = 0;
|
||||
|
|
@ -945,7 +945,7 @@ public :
|
|||
return false;
|
||||
}
|
||||
|
||||
virtual void SetTitle( const wxString& title, wxFontEncoding encoding ) = 0;
|
||||
virtual void SetTitle( const wxString& title ) = 0;
|
||||
|
||||
virtual bool EnableCloseButton(bool enable) = 0;
|
||||
virtual bool EnableMaximizeButton(bool enable) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue