]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/clrpicker.h
Correct wxDatePickerCtrl::GetValue() documentation and other minor fixes.
[wxWidgets.git] / interface / wx / clrpicker.h
index 062c134d13f9114444f4cdecdd9c2bb400d45f10..913c0fe8311f0cb512d18167668933fc399c98c1 100644 (file)
@@ -3,12 +3,11 @@
 // Purpose:     interface of wxColourPickerCtrl
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 /**
     @class wxColourPickerCtrl
-    @wxheader{clrpicker.h}
 
     This control allows the user to select a colour. The generic implementation
     is a button which brings up a wxColourDialog when clicked. Native
@@ -30,7 +29,7 @@
            (instead of no label at all).
     @endStyleTable
 
-    @beginEventTable{wxColourPickerEvent}
+    @beginEventEmissionTable{wxColourPickerEvent}
     @event{EVT_COLOURPICKER_CHANGED(id, func)}
            The user changed the colour selected in the control either using the
            button or using text control (see @c wxCLRP_USE_TEXTCTRL; note that
@@ -40,7 +39,7 @@
 
     @library{wxcore}
     @category{pickers}
-    <!-- @appearance{colourpickerctrl.png} -->
+    @appearance{colourpickerctrl.png}
 
     @see wxColourDialog, wxColourPickerEvent
 */
@@ -51,12 +50,12 @@ public:
         Initializes the object and calls Create() with all the parameters.
     */
     wxColourPickerCtrl(wxWindow* parent, wxWindowID id,
-                       const wxColour& colour = wxBLACK,
+                       const wxColour& colour = *wxBLACK,
                        const wxPoint& pos = wxDefaultPosition,
                        const wxSize& size = wxDefaultSize,
                        long style = wxCLRP_DEFAULT_STYLE,
                        const wxValidator& validator = wxDefaultValidator,
-                       const wxString& name = "colourpickerctrl");
+                       const wxString& name = wxColourPickerCtrlNameStr);
 
     /**
         Creates a colour picker with the given arguments.
@@ -82,12 +81,12 @@ public:
                 creation failed.
     */
     bool Create(wxWindow* parent, wxWindowID id,
-                const wxColour& colour = wxBLACK,
+                const wxColour& colour = *wxBLACK,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxCLRP_DEFAULT_STYLE,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString& name = "colourpickerctrl");
+                const wxString& name = wxColourPickerCtrlNameStr);
 
     /**
         Returns the currently selected colour.
@@ -107,7 +106,6 @@ public:
 
 /**
     @class wxColourPickerEvent
-    @wxheader{clrpicker.h}
 
     This event class is used for the events generated by wxColourPickerCtrl.