various misc ifacecheck fixes (many virtual attributes missing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -233,7 +233,7 @@ public:
|
|||||||
//
|
//
|
||||||
// NB: we provide implementation for this pure virtual function, derived
|
// NB: we provide implementation for this pure virtual function, derived
|
||||||
// classes should call it
|
// classes should call it
|
||||||
virtual bool EnableMonthChange(bool enable) = 0;
|
virtual bool EnableMonthChange(bool enable = true) = 0;
|
||||||
|
|
||||||
|
|
||||||
// an item without custom attributes is drawn with the default colours and
|
// an item without custom attributes is drawn with the default colours and
|
||||||
|
@@ -300,7 +300,7 @@ public:
|
|||||||
style bit directly. It enables or disables the special highlighting of
|
style bit directly. It enables or disables the special highlighting of
|
||||||
the holidays.
|
the holidays.
|
||||||
*/
|
*/
|
||||||
void EnableHolidayDisplay(bool display = true);
|
virtual void EnableHolidayDisplay(bool display = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This function should be used instead of changing
|
This function should be used instead of changing
|
||||||
@@ -311,7 +311,7 @@ public:
|
|||||||
@return @true if the value of this option really changed or @false if
|
@return @true if the value of this option really changed or @false if
|
||||||
it was already set to the requested value.
|
it was already set to the requested value.
|
||||||
*/
|
*/
|
||||||
bool EnableMonthChange(bool enable = true);
|
virtual bool EnableMonthChange(bool enable = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@deprecated
|
@deprecated
|
||||||
@@ -320,19 +320,19 @@ public:
|
|||||||
@c wxCAL_NO_YEAR_CHANGE style bit directly. It allows or disallows the
|
@c wxCAL_NO_YEAR_CHANGE style bit directly. It allows or disallows the
|
||||||
user to change the year interactively. Only in generic wxCalendarCtrl.
|
user to change the year interactively. Only in generic wxCalendarCtrl.
|
||||||
*/
|
*/
|
||||||
void EnableYearChange(bool enable = true);
|
virtual void EnableYearChange(bool enable = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the attribute for the given date (should be in the range
|
Returns the attribute for the given date (should be in the range
|
||||||
1...31). The returned pointer may be @NULL. Only in generic
|
1...31). The returned pointer may be @NULL. Only in generic
|
||||||
wxCalendarCtrl.
|
wxCalendarCtrl.
|
||||||
*/
|
*/
|
||||||
wxCalendarDateAttr* GetAttr(size_t day) const;
|
virtual wxCalendarDateAttr* GetAttr(size_t day) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the currently selected date.
|
Gets the currently selected date.
|
||||||
*/
|
*/
|
||||||
const wxDateTime GetDate() const;
|
virtual wxDateTime GetDate() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the background colour of the header part of the calendar window.
|
Gets the background colour of the header part of the calendar window.
|
||||||
@@ -342,7 +342,7 @@ public:
|
|||||||
|
|
||||||
@see SetHeaderColours()
|
@see SetHeaderColours()
|
||||||
*/
|
*/
|
||||||
const wxColour GetHeaderColourBg() const;
|
virtual const wxColour& GetHeaderColourBg() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the foreground colour of the header part of the calendar window.
|
Gets the foreground colour of the header part of the calendar window.
|
||||||
@@ -352,7 +352,7 @@ public:
|
|||||||
|
|
||||||
@see SetHeaderColours()
|
@see SetHeaderColours()
|
||||||
*/
|
*/
|
||||||
const wxColour GetHeaderColourFg() const;
|
virtual const wxColour& GetHeaderColourFg() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the background highlight colour. Only in generic wxCalendarCtrl.
|
Gets the background highlight colour. Only in generic wxCalendarCtrl.
|
||||||
@@ -362,7 +362,7 @@ public:
|
|||||||
|
|
||||||
@see SetHighlightColours()
|
@see SetHighlightColours()
|
||||||
*/
|
*/
|
||||||
const wxColour GetHighlightColourBg() const;
|
virtual const wxColour& GetHighlightColourBg() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the foreground highlight colour. Only in generic wxCalendarCtrl.
|
Gets the foreground highlight colour. Only in generic wxCalendarCtrl.
|
||||||
@@ -372,7 +372,7 @@ public:
|
|||||||
|
|
||||||
@see SetHighlightColours()
|
@see SetHighlightColours()
|
||||||
*/
|
*/
|
||||||
const wxColour GetHighlightColourFg() const;
|
virtual const wxColour& GetHighlightColourFg() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Return the background colour currently used for holiday highlighting.
|
Return the background colour currently used for holiday highlighting.
|
||||||
@@ -383,7 +383,7 @@ public:
|
|||||||
|
|
||||||
@see SetHolidayColours()
|
@see SetHolidayColours()
|
||||||
*/
|
*/
|
||||||
const wxColour GetHolidayColourBg() const;
|
virtual const wxColour& GetHolidayColourBg() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Return the foreground colour currently used for holiday highlighting.
|
Return the foreground colour currently used for holiday highlighting.
|
||||||
@@ -394,38 +394,38 @@ public:
|
|||||||
|
|
||||||
@see SetHolidayColours()
|
@see SetHolidayColours()
|
||||||
*/
|
*/
|
||||||
const wxColour GetHolidayColourFg() const;
|
virtual const wxColour& GetHolidayColourFg() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns one of wxCalendarHitTestResult constants and fills either
|
Returns one of wxCalendarHitTestResult constants and fills either
|
||||||
@a date or @a wd pointer with the corresponding value depending on the
|
@a date or @a wd pointer with the corresponding value depending on the
|
||||||
hit test code.
|
hit test code.
|
||||||
|
|
||||||
Not implemented in wxGTK currently.
|
Not implemented in wxGTK currently.
|
||||||
*/
|
*/
|
||||||
wxCalendarHitTestResult HitTest(const wxPoint& pos,
|
virtual wxCalendarHitTestResult HitTest(const wxPoint& pos,
|
||||||
wxDateTime* date = NULL,
|
wxDateTime* date = NULL,
|
||||||
wxDateTime::WeekDay* wd = NULL);
|
wxDateTime::WeekDay* wd = NULL);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Clears any attributes associated with the given day (in the range
|
Clears any attributes associated with the given day (in the range
|
||||||
1...31). Only in generic wxCalendarCtrl.
|
1...31). Only in generic wxCalendarCtrl.
|
||||||
*/
|
*/
|
||||||
void ResetAttr(size_t day);
|
virtual void ResetAttr(size_t day);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Associates the attribute with the specified date (in the range 1...31).
|
Associates the attribute with the specified date (in the range 1...31).
|
||||||
If the pointer is @NULL, the items attribute is cleared. Only in
|
If the pointer is @NULL, the items attribute is cleared. Only in
|
||||||
generic wxCalendarCtrl.
|
generic wxCalendarCtrl.
|
||||||
*/
|
*/
|
||||||
void SetAttr(size_t day, wxCalendarDateAttr* attr);
|
virtual void SetAttr(size_t day, wxCalendarDateAttr* attr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the current date.
|
Sets the current date.
|
||||||
|
|
||||||
The @a date parameter must be valid.
|
The @a date parameter must be valid.
|
||||||
*/
|
*/
|
||||||
void SetDate(const wxDateTime& date);
|
virtual void SetDate(const wxDateTime& date);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set the colours used for painting the weekdays at the top of the
|
Set the colours used for painting the weekdays at the top of the
|
||||||
@@ -434,8 +434,8 @@ public:
|
|||||||
This method is currently only implemented in generic wxCalendarCtrl and
|
This method is currently only implemented in generic wxCalendarCtrl and
|
||||||
does nothing in the native versions.
|
does nothing in the native versions.
|
||||||
*/
|
*/
|
||||||
void SetHeaderColours(const wxColour& colFg,
|
virtual void SetHeaderColours(const wxColour& colFg,
|
||||||
const wxColour& colBg);
|
const wxColour& colBg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set the colours to be used for highlighting the currently selected
|
Set the colours to be used for highlighting the currently selected
|
||||||
@@ -444,8 +444,8 @@ public:
|
|||||||
This method is currently only implemented in generic wxCalendarCtrl and
|
This method is currently only implemented in generic wxCalendarCtrl and
|
||||||
does nothing in the native versions.
|
does nothing in the native versions.
|
||||||
*/
|
*/
|
||||||
void SetHighlightColours(const wxColour& colFg,
|
virtual void SetHighlightColours(const wxColour& colFg,
|
||||||
const wxColour& colBg);
|
const wxColour& colBg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Marks the specified day as being a holiday in the current month.
|
Marks the specified day as being a holiday in the current month.
|
||||||
@@ -453,25 +453,25 @@ public:
|
|||||||
This method is only implemented in the generic version of the control
|
This method is only implemented in the generic version of the control
|
||||||
and does nothing in the native ones.
|
and does nothing in the native ones.
|
||||||
*/
|
*/
|
||||||
void SetHoliday(size_t day);
|
virtual void SetHoliday(size_t day);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the colours to be used for the holidays highlighting.
|
Sets the colours to be used for the holidays highlighting.
|
||||||
|
|
||||||
This method is only implemented in the generic version of the control
|
This method is only implemented in the generic version of the control
|
||||||
and does nothing in the native ones. It should also only be called if
|
and does nothing in the native ones. It should also only be called if
|
||||||
the window style includes @c wxCAL_SHOW_HOLIDAYS flag or
|
the window style includes @c wxCAL_SHOW_HOLIDAYS flag or
|
||||||
EnableHolidayDisplay() had been called.
|
EnableHolidayDisplay() had been called.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
void SetHolidayColours(const wxColour& colFg,
|
virtual void SetHolidayColours(const wxColour& colFg,
|
||||||
const wxColour& colBg);
|
const wxColour& colBg);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Mark or unmark the day. This day of month will be marked in every
|
Mark or unmark the day. This day of month will be marked in every
|
||||||
month. In generic wxCalendarCtrl,
|
month. In generic wxCalendarCtrl,
|
||||||
*/
|
*/
|
||||||
void Mark(size_t day, bool mark);
|
virtual void Mark(size_t day, bool mark);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@name Date Range Functions
|
@name Date Range Functions
|
||||||
|
@@ -67,6 +67,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
wxBufferedDC(wxDC* dc, const wxSize& area,
|
wxBufferedDC(wxDC* dc, const wxSize& area,
|
||||||
int style = wxBUFFER_CLIENT_AREA);
|
int style = wxBUFFER_CLIENT_AREA);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a buffer for the provided dc. Init() must not be called when
|
Creates a buffer for the provided dc. Init() must not be called when
|
||||||
using this constructor.
|
using this constructor.
|
||||||
@@ -94,7 +95,7 @@ public:
|
|||||||
Copies everything drawn on the DC so far to the underlying DC
|
Copies everything drawn on the DC so far to the underlying DC
|
||||||
associated with this object, if any.
|
associated with this object, if any.
|
||||||
*/
|
*/
|
||||||
~wxBufferedDC();
|
virtual ~wxBufferedDC();
|
||||||
|
|
||||||
//@{
|
//@{
|
||||||
/**
|
/**
|
||||||
@@ -185,6 +186,6 @@ public:
|
|||||||
Copies everything drawn on the DC so far to the window associated with
|
Copies everything drawn on the DC so far to the window associated with
|
||||||
this object, using a wxPaintDC.
|
this object, using a wxPaintDC.
|
||||||
*/
|
*/
|
||||||
~wxBufferedPaintDC();
|
virtual ~wxBufferedPaintDC();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@ public:
|
|||||||
wxStdDialogButtonSizer();
|
wxStdDialogButtonSizer();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Adds a button to the wxStdDialogButtonSizer. The @a button must have
|
Adds a button to the wxStdDialogButtonSizer. The @a button must have
|
||||||
one of the following identifiers:
|
one of the following identifiers:
|
||||||
wxID_OK
|
wxID_OK
|
||||||
wxID_YES
|
wxID_YES
|
||||||
@@ -128,7 +128,7 @@ public:
|
|||||||
Calculates the minimum desired size for the item, including any space
|
Calculates the minimum desired size for the item, including any space
|
||||||
needed by borders.
|
needed by borders.
|
||||||
*/
|
*/
|
||||||
wxSize CalcMin();
|
virtual wxSize CalcMin();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destroy the window or the windows in a subsizer, depending on the type
|
Destroy the window or the windows in a subsizer, depending on the type
|
||||||
@@ -968,7 +968,7 @@ public:
|
|||||||
This method is abstract and has to be overwritten by any derived class.
|
This method is abstract and has to be overwritten by any derived class.
|
||||||
Here, the sizer will do the actual calculation of its children's minimal sizes.
|
Here, the sizer will do the actual calculation of its children's minimal sizes.
|
||||||
*/
|
*/
|
||||||
wxSize CalcMin();
|
virtual wxSize CalcMin();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Detaches all children from the sizer. If @a delete_windows is @true then
|
Detaches all children from the sizer. If @a delete_windows is @true then
|
||||||
@@ -1004,10 +1004,10 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Detach the child @a window from the sizer without destroying it.
|
Detach the child @a window from the sizer without destroying it.
|
||||||
|
|
||||||
This method does not cause any layout or resizing to take place, call Layout()
|
This method does not cause any layout or resizing to take place, call Layout()
|
||||||
to update the layout "on screen" after detaching a child from the sizer.
|
to update the layout "on screen" after detaching a child from the sizer.
|
||||||
|
|
||||||
Returns @true if the child item was found and detached, @false otherwise.
|
Returns @true if the child item was found and detached, @false otherwise.
|
||||||
|
|
||||||
@see Remove()
|
@see Remove()
|
||||||
@@ -1016,19 +1016,19 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Detach the child @a sizer from the sizer without destroying it.
|
Detach the child @a sizer from the sizer without destroying it.
|
||||||
|
|
||||||
This method does not cause any layout or resizing to take place, call Layout()
|
This method does not cause any layout or resizing to take place, call Layout()
|
||||||
to update the layout "on screen" after detaching a child from the sizer.
|
to update the layout "on screen" after detaching a child from the sizer.
|
||||||
|
|
||||||
Returns @true if the child item was found and detached, @false otherwise.
|
Returns @true if the child item was found and detached, @false otherwise.
|
||||||
|
|
||||||
@see Remove()
|
@see Remove()
|
||||||
*/
|
*/
|
||||||
bool Detach(wxSizer* sizer);
|
bool Detach(wxSizer* sizer);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Detach a item at position @a index from the sizer without destroying it.
|
Detach a item at position @a index from the sizer without destroying it.
|
||||||
|
|
||||||
This method does not cause any layout or resizing to take place, call Layout()
|
This method does not cause any layout or resizing to take place, call Layout()
|
||||||
to update the layout "on screen" after detaching a child from the sizer.
|
to update the layout "on screen" after detaching a child from the sizer.
|
||||||
Returns @true if the child item was found and detached, @false otherwise.
|
Returns @true if the child item was found and detached, @false otherwise.
|
||||||
@@ -1066,7 +1066,7 @@ public:
|
|||||||
@ref wxSizerItem "wxSizerItem".
|
@ref wxSizerItem "wxSizerItem".
|
||||||
*/
|
*/
|
||||||
wxSizerItemList& GetChildren();
|
wxSizerItemList& GetChildren();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the list of the items in this sizer. The elements of type-safe
|
Returns the list of the items in this sizer. The elements of type-safe
|
||||||
wxList @a wxSizerItemList are pointers to objects of type
|
wxList @a wxSizerItemList are pointers to objects of type
|
||||||
@@ -1085,13 +1085,13 @@ public:
|
|||||||
Returns pointer to item or @NULL.
|
Returns pointer to item or @NULL.
|
||||||
*/
|
*/
|
||||||
wxSizerItem* GetItem(wxWindow* window, bool recursive = false);
|
wxSizerItem* GetItem(wxWindow* window, bool recursive = false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Finds wxSizerItem which holds the given @a sizer
|
Finds wxSizerItem which holds the given @a sizer
|
||||||
Use parameter @a recursive to search in subsizers too.
|
Use parameter @a recursive to search in subsizers too.
|
||||||
Returns pointer to item or @NULL.
|
Returns pointer to item or @NULL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
wxSizerItem* GetItem(wxSizer* sizer, bool recursive = false);
|
wxSizerItem* GetItem(wxSizer* sizer, bool recursive = false);
|
||||||
/**
|
/**
|
||||||
Finds wxSizerItem which is located in the sizer at position
|
Finds wxSizerItem which is located in the sizer at position
|
||||||
@@ -1135,9 +1135,9 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Hides the child @a window.
|
Hides the child @a window.
|
||||||
|
|
||||||
To make a sizer item disappear, use Hide() followed by Layout().
|
To make a sizer item disappear, use Hide() followed by Layout().
|
||||||
|
|
||||||
Use parameter @a recursive to hide elements found in subsizers.
|
Use parameter @a recursive to hide elements found in subsizers.
|
||||||
Returns @true if the child item was found, @false otherwise.
|
Returns @true if the child item was found, @false otherwise.
|
||||||
|
|
||||||
@@ -1147,9 +1147,9 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Hides the child @a sizer.
|
Hides the child @a sizer.
|
||||||
|
|
||||||
To make a sizer item disappear, use Hide() followed by Layout().
|
To make a sizer item disappear, use Hide() followed by Layout().
|
||||||
|
|
||||||
Use parameter @a recursive to hide elements found in subsizers.
|
Use parameter @a recursive to hide elements found in subsizers.
|
||||||
Returns @true if the child item was found, @false otherwise.
|
Returns @true if the child item was found, @false otherwise.
|
||||||
|
|
||||||
@@ -1159,9 +1159,9 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Hides the item at position @a index.
|
Hides the item at position @a index.
|
||||||
|
|
||||||
To make a sizer item disappear, use Hide() followed by Layout().
|
To make a sizer item disappear, use Hide() followed by Layout().
|
||||||
|
|
||||||
Use parameter @a recursive to hide elements found in subsizers.
|
Use parameter @a recursive to hide elements found in subsizers.
|
||||||
Returns @true if the child item was found, @false otherwise.
|
Returns @true if the child item was found, @false otherwise.
|
||||||
|
|
||||||
@@ -1317,7 +1317,7 @@ public:
|
|||||||
Here, the sizer will do the actual calculation of its children's
|
Here, the sizer will do the actual calculation of its children's
|
||||||
positions and sizes.
|
positions and sizes.
|
||||||
*/
|
*/
|
||||||
void RecalcSizes();
|
virtual void RecalcSizes();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Removes a child window from the sizer, but does @b not destroy it
|
Removes a child window from the sizer, but does @b not destroy it
|
||||||
@@ -1372,46 +1372,46 @@ public:
|
|||||||
replaces it with the given @a newwin. The detached
|
replaces it with the given @a newwin. The detached
|
||||||
child window is @b not deleted (because windows are
|
child window is @b not deleted (because windows are
|
||||||
owned by their parent window, not the sizer).
|
owned by their parent window, not the sizer).
|
||||||
|
|
||||||
Use parameter @a recursive to search the given element recursively in subsizers.
|
Use parameter @a recursive to search the given element recursively in subsizers.
|
||||||
|
|
||||||
This method does not cause any layout or resizing to take place,
|
This method does not cause any layout or resizing to take place,
|
||||||
call Layout() to update the layout "on screen" after replacing a
|
call Layout() to update the layout "on screen" after replacing a
|
||||||
child from the sizer.
|
child from the sizer.
|
||||||
|
|
||||||
Returns @true if the child item was found and removed, @false otherwise.
|
Returns @true if the child item was found and removed, @false otherwise.
|
||||||
*/
|
*/
|
||||||
bool Replace(wxWindow* oldwin, wxWindow* newwin,
|
bool Replace(wxWindow* oldwin, wxWindow* newwin,
|
||||||
bool recursive = false);
|
bool recursive = false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Detaches the given @a oldsz from the sizer and
|
Detaches the given @a oldsz from the sizer and
|
||||||
replaces it with the given @a newsz. The detached
|
replaces it with the given @a newsz. The detached
|
||||||
child sizer is deleted.
|
child sizer is deleted.
|
||||||
|
|
||||||
Use parameter @a recursive to search the given element recursively in subsizers.
|
Use parameter @a recursive to search the given element recursively in subsizers.
|
||||||
|
|
||||||
This method does not cause any layout or resizing to take place,
|
This method does not cause any layout or resizing to take place,
|
||||||
call Layout() to update the layout "on screen" after replacing a
|
call Layout() to update the layout "on screen" after replacing a
|
||||||
child from the sizer.
|
child from the sizer.
|
||||||
|
|
||||||
Returns @true if the child item was found and removed, @false otherwise.
|
Returns @true if the child item was found and removed, @false otherwise.
|
||||||
*/
|
*/
|
||||||
bool Replace(wxSizer* oldsz, wxSizer* newsz,
|
bool Replace(wxSizer* oldsz, wxSizer* newsz,
|
||||||
bool recursive = false);
|
bool recursive = false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Detaches the given item at position @a index from the sizer and
|
Detaches the given item at position @a index from the sizer and
|
||||||
replaces it with the given wxSizerItem @a newitem.
|
replaces it with the given wxSizerItem @a newitem.
|
||||||
|
|
||||||
The detached child is deleted @b only if it is a sizer or a spacer
|
The detached child is deleted @b only if it is a sizer or a spacer
|
||||||
(but not if it is a wxWindow because windows are owned by their
|
(but not if it is a wxWindow because windows are owned by their
|
||||||
parent window, not the sizer).
|
parent window, not the sizer).
|
||||||
|
|
||||||
This method does not cause any layout or resizing to take place,
|
This method does not cause any layout or resizing to take place,
|
||||||
call Layout() to update the layout "on screen" after replacing a
|
call Layout() to update the layout "on screen" after replacing a
|
||||||
child from the sizer.
|
child from the sizer.
|
||||||
|
|
||||||
Returns @true if the child item was found and removed, @false otherwise.
|
Returns @true if the child item was found and removed, @false otherwise.
|
||||||
*/
|
*/
|
||||||
bool Replace(size_t index, wxSizerItem* newitem);
|
bool Replace(size_t index, wxSizerItem* newitem);
|
||||||
@@ -1422,7 +1422,7 @@ public:
|
|||||||
rules defined by the parameter in the Add() and Prepend() methods.
|
rules defined by the parameter in the Add() and Prepend() methods.
|
||||||
*/
|
*/
|
||||||
void SetDimension(int x, int y, int width, int height);
|
void SetDimension(int x, int y, int width, int height);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@overload
|
@overload
|
||||||
*/
|
*/
|
||||||
@@ -1502,9 +1502,9 @@ public:
|
|||||||
/**
|
/**
|
||||||
Shows or hides the @a window.
|
Shows or hides the @a window.
|
||||||
To make a sizer item disappear or reappear, use Show() followed by Layout().
|
To make a sizer item disappear or reappear, use Show() followed by Layout().
|
||||||
|
|
||||||
Use parameter @a recursive to show or hide elements found in subsizers.
|
Use parameter @a recursive to show or hide elements found in subsizers.
|
||||||
|
|
||||||
Returns @true if the child item was found, @false otherwise.
|
Returns @true if the child item was found, @false otherwise.
|
||||||
|
|
||||||
@see Hide(), IsShown()
|
@see Hide(), IsShown()
|
||||||
@@ -1515,9 +1515,9 @@ public:
|
|||||||
/**
|
/**
|
||||||
Shows or hides @a sizer.
|
Shows or hides @a sizer.
|
||||||
To make a sizer item disappear or reappear, use Show() followed by Layout().
|
To make a sizer item disappear or reappear, use Show() followed by Layout().
|
||||||
|
|
||||||
Use parameter @a recursive to show or hide elements found in subsizers.
|
Use parameter @a recursive to show or hide elements found in subsizers.
|
||||||
|
|
||||||
Returns @true if the child item was found, @false otherwise.
|
Returns @true if the child item was found, @false otherwise.
|
||||||
|
|
||||||
@see Hide(), IsShown()
|
@see Hide(), IsShown()
|
||||||
@@ -1528,7 +1528,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Shows the item at @a index.
|
Shows the item at @a index.
|
||||||
To make a sizer item disappear or reappear, use Show() followed by Layout().
|
To make a sizer item disappear or reappear, use Show() followed by Layout().
|
||||||
|
|
||||||
Returns @true if the child item was found, @false otherwise.
|
Returns @true if the child item was found, @false otherwise.
|
||||||
|
|
||||||
@see Hide(), IsShown()
|
@see Hide(), IsShown()
|
||||||
@@ -1621,7 +1621,7 @@ public:
|
|||||||
@library{wxcore}
|
@library{wxcore}
|
||||||
@category{winlayout}
|
@category{winlayout}
|
||||||
|
|
||||||
@see wxSizer, wxStaticBox, wxBoxSizer, @ref overview_sizer
|
@see wxSizer, wxStaticBox, wxBoxSizer, @ref overview_sizer
|
||||||
"Sizer Overview"
|
"Sizer Overview"
|
||||||
*/
|
*/
|
||||||
class wxStaticBoxSizer : public wxBoxSizer
|
class wxStaticBoxSizer : public wxBoxSizer
|
||||||
@@ -1655,7 +1655,7 @@ public:
|
|||||||
simple basic geometry, typically in a row or a column or several hierarchies of
|
simple basic geometry, typically in a row or a column or several hierarchies of
|
||||||
either.
|
either.
|
||||||
|
|
||||||
For more information, please see @ref overview_sizer_box
|
For more information, please see @ref overview_sizer_box
|
||||||
"Programming with wxBoxSizer".
|
"Programming with wxBoxSizer".
|
||||||
|
|
||||||
@library{wxcore}
|
@library{wxcore}
|
||||||
@@ -1676,13 +1676,13 @@ public:
|
|||||||
Implements the calculation of a box sizer's minimal. It is used internally
|
Implements the calculation of a box sizer's minimal. It is used internally
|
||||||
only and must not be called by the user. Documented for information.
|
only and must not be called by the user. Documented for information.
|
||||||
*/
|
*/
|
||||||
wxSize CalcMin();
|
virtual wxSize CalcMin();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the orientation of the box sizer, either wxVERTICAL
|
Returns the orientation of the box sizer, either wxVERTICAL
|
||||||
or wxHORIZONTAL.
|
or wxHORIZONTAL.
|
||||||
*/
|
*/
|
||||||
int GetOrientation();
|
int GetOrientation() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Implements the calculation of a box sizer's dimensions and then sets
|
Implements the calculation of a box sizer's dimensions and then sets
|
||||||
|
@@ -667,25 +667,24 @@ class wxBufferedOutputStream : public wxFilterOutputStream
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
Creates a buffered stream using a buffer of a default size of 1024 bytes for
|
@todo WRITE DESCRIPTION
|
||||||
cashing the stream @a parent.
|
|
||||||
*/
|
*/
|
||||||
wxBufferedOutputStream(const wxOutputStream& parent);
|
wxBufferedOutputStream(wxOutputStream& stream,
|
||||||
|
wxStreamBuffer *buffer = NULL);
|
||||||
/**
|
/**
|
||||||
Destructor. Calls Sync() and destroys the internal buffer.
|
Destructor. Calls Sync() and destroys the internal buffer.
|
||||||
*/
|
*/
|
||||||
~wxBufferedOutputStream();
|
virtual ~wxBufferedOutputStream();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Calls Sync() and changes the stream position.
|
Calls Sync() and changes the stream position.
|
||||||
*/
|
*/
|
||||||
off_t SeekO(off_t pos, wxSeekMode mode);
|
virtual wxFileOffset SeekO(wxFileOffset pos, wxSeekMode mode = wxFromStart)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Flushes the buffer and calls Sync() on the parent stream.
|
Flushes the buffer and calls Sync() on the parent stream.
|
||||||
*/
|
*/
|
||||||
void Sync();
|
virtual void Sync();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@ public:
|
|||||||
Default constructor.
|
Default constructor.
|
||||||
*/
|
*/
|
||||||
wxToggleButton();
|
wxToggleButton();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructor, creating and showing a toggle button.
|
Constructor, creating and showing a toggle button.
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ public:
|
|||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = 0,
|
long style = 0,
|
||||||
const wxValidator& val = wxDefaultValidator,
|
const wxValidator& val = wxDefaultValidator,
|
||||||
const wxString& name = "checkBox");
|
const wxString& name = wxCheckBoxNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destructor, destroying the toggle button.
|
Destructor, destroying the toggle button.
|
||||||
@@ -85,7 +85,7 @@ public:
|
|||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = 0,
|
long style = 0,
|
||||||
const wxValidator& val = wxDefaultValidator,
|
const wxValidator& val = wxDefaultValidator,
|
||||||
const wxString& name = "checkBox");
|
const wxString& name = wxCheckBoxNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the state of the toggle button.
|
Gets the state of the toggle button.
|
||||||
@@ -129,7 +129,7 @@ public:
|
|||||||
Default constructor.
|
Default constructor.
|
||||||
*/
|
*/
|
||||||
wxBitmapToggleButton();
|
wxBitmapToggleButton();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructor, creating and showing a toggle button with the bitmap @e label.
|
Constructor, creating and showing a toggle button with the bitmap @e label.
|
||||||
Internally calls Create().
|
Internally calls Create().
|
||||||
@@ -140,7 +140,7 @@ public:
|
|||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = 0,
|
long style = 0,
|
||||||
const wxValidator& val = wxDefaultValidator,
|
const wxValidator& val = wxDefaultValidator,
|
||||||
const wxString& name = "checkBox");
|
const wxString& name = wxCheckBoxNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Create method for two-step construction.
|
Create method for two-step construction.
|
||||||
@@ -151,7 +151,7 @@ public:
|
|||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = 0,
|
long style = 0,
|
||||||
const wxValidator& val = wxDefaultValidator,
|
const wxValidator& val = wxDefaultValidator,
|
||||||
const wxString& name = "checkBox");
|
const wxString& name = wxCheckBoxNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the state of the toggle button.
|
Gets the state of the toggle button.
|
||||||
|
@@ -78,7 +78,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Constructs a busy cursor object, calling wxBeginBusyCursor().
|
Constructs a busy cursor object, calling wxBeginBusyCursor().
|
||||||
*/
|
*/
|
||||||
wxBusyCursor(wxCursor* cursor = wxHOURGLASS_CURSOR);
|
wxBusyCursor(const wxCursor* cursor = wxHOURGLASS_CURSOR);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destroys the busy cursor object, calling wxEndBusyCursor().
|
Destroys the busy cursor object, calling wxEndBusyCursor().
|
||||||
|
Reference in New Issue
Block a user