From: Francesco Montorsi Date: Thu, 18 Sep 2008 18:47:34 +0000 (+0000) Subject: fix default arguments for various functions/ctors X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f910f4d5cb822dddfda3d5be2f749d36ece5911f fix default arguments for various functions/ctors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/bmpcbox.h b/interface/wx/bmpcbox.h index af60247aa8..897261d01d 100644 --- a/interface/wx/bmpcbox.h +++ b/interface/wx/bmpcbox.h @@ -139,9 +139,9 @@ public: Creates the combobox for two-step construction. */ bool Create(wxWindow* parent, wxWindowID id, - const wxString& value = "", - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, + const wxString& value, + const wxPoint& pos, + const wxSize& size, int n, const wxString choices[], long style = 0, const wxValidator& validator = wxDefaultValidator, diff --git a/interface/wx/dcps.h b/interface/wx/dcps.h index f1db03d9da..2aeaa41eee 100644 --- a/interface/wx/dcps.h +++ b/interface/wx/dcps.h @@ -20,10 +20,10 @@ class wxPostScriptDC : public wxDC { public: /** - Constructs a PostScript printer device context from a wxPrintData - object. + Constructs a PostScript printer device context from a wxPrintData object. */ wxPostScriptDC(const wxPrintData& printData); + /** Constructor. @a output is an optional file for printing to, and if @a interactive is @true a dialog box will be displayed for adjusting @@ -38,7 +38,7 @@ public: @deprecated This constructor is deprecated. */ wxPostScriptDC(const wxString& output, - bool interactive = true, + bool interactive, wxWindow* parent); /** diff --git a/interface/wx/object.h b/interface/wx/object.h index f0818ff3f6..c33355f97f 100644 --- a/interface/wx/object.h +++ b/interface/wx/object.h @@ -200,7 +200,7 @@ public: Performs dereferencing, for those objects that use reference counting. */ - wxObject(); + ~wxObject(); /** A virtual function that may be redefined by derived classes to allow dumping of