fixes to wxFontDialog after recent changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-05-12 22:26:01 +00:00
parent dbc65e2760
commit 3fde374f3f
2 changed files with 16 additions and 11 deletions

View File

@@ -23,16 +23,17 @@
class WXDLLEXPORT wxFontDialog : public wxFontDialogBase
{
public:
wxFontDialog() : wxFontDialogBase() { }
wxFontDialog(wxWindow *parent) : wxFontDialogBase(parent) { }
wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
wxFontDialog(wxWindow *parent)
: wxFontDialogBase(parent) { Create(parent); }
wxFontDialog(wxWindow *parent, const wxFontData& data)
: wxFontDialogBase(parent, data) { }
: wxFontDialogBase(parent, data) { Create(parent, data); }
virtual int ShowModal();
// deprecated
wxFontDialog(wxWindow *parent, wxFontData *data)
: wxFontDialogBase(parent, data) { }
// deprecated interface, don't use
wxFontDialog(wxWindow *parent, const wxFontData *data)
: wxFontDialogBase(parent, data) { Create(parent, data); }
protected:
DECLARE_DYNAMIC_CLASS(wxFontDialog)