]> git.saurik.com Git - wxWidgets.git/commitdiff
fix default arguments for various functions/ctors
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 18 Sep 2008 18:47:34 +0000 (18:47 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Thu, 18 Sep 2008 18:47:34 +0000 (18:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/bmpcbox.h
interface/wx/dcps.h
interface/wx/object.h

index af60247aa8afc51d8d2c7e958c7c6a2f979658f7..897261d01d7b2de443f530c0e7728faa6a4bd8d3 100644 (file)
@@ -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,
index f1db03d9da9b9e690c66157323d92e05b4eb3c29..2aeaa41eeeaf77a8f53d25affb16d96c3144c38f 100644 (file)
@@ -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);
 
     /**
index f0818ff3f6a935f8d8951ef13a36932059441ef4..c33355f97f9d16db2016491f9fd8542c6548256c 100644 (file)
@@ -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