further ifacecheck fixes (now only 3.3% of documented methods have a wrong signature\!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a70ab3b804
commit
11e3af6e7e
@ -661,7 +661,7 @@ public:
|
||||
/**
|
||||
Assigns print data to this object.
|
||||
*/
|
||||
void operator =(const wxPrintData& data);
|
||||
wxPrintData& operator =(const wxPrintData& data);
|
||||
};
|
||||
|
||||
|
||||
|
@ -504,64 +504,64 @@ public:
|
||||
|
||||
@return @true if value was really read, @false if the default was used.
|
||||
*/
|
||||
const bool Read(const wxString& key, wxString* str,
|
||||
const wxString& defaultVal) const;
|
||||
bool Read(const wxString& key, wxString* str,
|
||||
const wxString& defaultVal) const;
|
||||
/**
|
||||
Another version of Read(), returning the string value directly.
|
||||
*/
|
||||
const wxString Read(const wxString& key,
|
||||
const wxString& defaultVal) const;
|
||||
const wxString& defaultVal) const;
|
||||
/**
|
||||
Reads a long value, returning @true if the value was found. If the
|
||||
value was not found, @a l is not changed.
|
||||
*/
|
||||
const bool Read(const wxString& key, long* l) const;
|
||||
bool Read(const wxString& key, long* l) const;
|
||||
/**
|
||||
Reads a long value, returning @true if the value was found. If the
|
||||
value was not found, @a defaultVal is used instead.
|
||||
*/
|
||||
const bool Read(const wxString& key, long* l,
|
||||
long defaultVal) const;
|
||||
bool Read(const wxString& key, long* l,
|
||||
long defaultVal) const;
|
||||
/**
|
||||
Reads a double value, returning @true if the value was found. If the
|
||||
value was not found, @a d is not changed.
|
||||
*/
|
||||
const bool Read(const wxString& key, double* d) const;
|
||||
bool Read(const wxString& key, double* d) const;
|
||||
/**
|
||||
Reads a double value, returning @true if the value was found. If the
|
||||
value was not found, @a defaultVal is used instead.
|
||||
*/
|
||||
const bool Read(const wxString& key, double* d,
|
||||
bool Read(const wxString& key, double* d,
|
||||
double defaultVal) const;
|
||||
/**
|
||||
Reads a bool value, returning @true if the value was found. If the
|
||||
value was not found, @a b is not changed.
|
||||
*/
|
||||
const bool Read(const wxString& key, bool* b) const;
|
||||
bool Read(const wxString& key, bool* b) const;
|
||||
/**
|
||||
Reads a bool value, returning @true if the value was found. If the
|
||||
value was not found, @a defaultVal is used instead.
|
||||
*/
|
||||
const bool Read(const wxString& key, bool* d,
|
||||
bool defaultVal) const;
|
||||
bool Read(const wxString& key, bool* d,
|
||||
bool defaultVal) const;
|
||||
/**
|
||||
Reads a binary block, returning @true if the value was found. If the
|
||||
value was not found, @a buf is not changed.
|
||||
*/
|
||||
const bool Read(const wxString& key, wxMemoryBuffer* buf) const;
|
||||
bool Read(const wxString& key, wxMemoryBuffer* buf) const;
|
||||
/**
|
||||
Reads a value of type T, for which function wxFromString() is defined,
|
||||
returning @true if the value was found. If the value was not found,
|
||||
@a value is not changed.
|
||||
*/
|
||||
const bool Read(const wxString& key, T* value) const;
|
||||
bool Read(const wxString& key, T* value) const;
|
||||
/**
|
||||
Reads a value of type T, for which function wxFromString() is defined,
|
||||
returning @true if the value was found. If the value was not found,
|
||||
@a defaultVal is used instead.
|
||||
*/
|
||||
const bool Read(const wxString& key, T* value,
|
||||
const T& defaultVal) const;
|
||||
bool Read(const wxString& key, T* value,
|
||||
const T& defaultVal) const;
|
||||
|
||||
/**
|
||||
Reads a bool value from the key and returns it. @a defaultVal is
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
backward compatibility.
|
||||
*/
|
||||
wxPrinterDC(const wxString& driver, const wxString& device,
|
||||
const wxString& output, const bool interactive = true,
|
||||
const wxString& output, bool interactive = true,
|
||||
int orientation = wxPORTRAIT);
|
||||
|
||||
/**
|
||||
|
@ -36,21 +36,11 @@
|
||||
class wxSVGFileDC : public wxDC
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Initializes a wxSVGFileDC with the given @a f filename with a default
|
||||
size (340x240) at 72.0 dots per inch (a frequent screen resolution).
|
||||
*/
|
||||
wxSVGFileDC(wxString f);
|
||||
/**
|
||||
Initializes a wxSVGFileDC with the given @a f filename with the given
|
||||
@a Width and @a Height at 72.0 dots per inch.
|
||||
*/
|
||||
wxSVGFileDC(wxString f, int Width, int Height);
|
||||
/**
|
||||
Initializes a wxSVGFileDC with the given @a f filename with the given
|
||||
@a Width and @a Height at @a dpi resolution.
|
||||
*/
|
||||
wxSVGFileDC(wxString f, int Width, int Height, float dpi);
|
||||
wxSVGFileDC(const wxString& filename, int width = 320, int height = 240, double dpi = 72);
|
||||
|
||||
/**
|
||||
Destructor.
|
||||
@ -66,9 +56,9 @@ public:
|
||||
@see wxDC::Blit()
|
||||
*/
|
||||
bool Blit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height,
|
||||
wxSVGFileDC* source, wxCoord xsrc, wxCoord ysrc,
|
||||
int logicalFunc = wxCOPY, bool useMask = FALSE,
|
||||
wxCoord xsrcMask = -1, wxCoord ysrcMask = -1);
|
||||
wxDC* source, wxCoord xsrc, wxCoord ysrc, int rop = wxCOPY,
|
||||
bool useMask = false, wxCoord xsrcMask = wxDefaultCoord,
|
||||
wxCoord ysrcMask = wxDefaultCoord);
|
||||
|
||||
/**
|
||||
Adds the specified point to the bounding box which can be retrieved
|
||||
@ -131,7 +121,7 @@ public:
|
||||
|
||||
/**
|
||||
Draw a bitmap on the device context at the specified point. If
|
||||
@a transparent is @true and the bitmap has a transparency mask, the
|
||||
@a useMask is @true and the bitmap has a transparency mask, the
|
||||
bitmap will be drawn transparently.
|
||||
|
||||
When drawing a mono-bitmap, the current text foreground colour will be
|
||||
@ -142,7 +132,7 @@ public:
|
||||
@see wxDC::SetTextForeground(), wxDC::SetTextBackground(), wxMemoryDC
|
||||
*/
|
||||
void DrawBitmap(const wxBitmap& bitmap, wxCoord x, wxCoord y,
|
||||
bool transparent);
|
||||
bool useMask = false);
|
||||
|
||||
//@{
|
||||
/**
|
||||
@ -283,7 +273,7 @@ public:
|
||||
The spline is drawn using a series of lines, using an algorithm taken from
|
||||
the X drawing program "XFIG".
|
||||
*/
|
||||
void DrawSpline(wxList* points);
|
||||
void DrawSpline(const wxPointList* points);
|
||||
|
||||
/**
|
||||
Draws a three-point spline using the current pen.
|
||||
@ -319,7 +309,7 @@ public:
|
||||
/**
|
||||
Not implemented.
|
||||
*/
|
||||
void FloodFill(wxCoord x, wxCoord y, const wxColour& colour,
|
||||
bool FloodFill(wxCoord x, wxCoord y, const wxColour& colour,
|
||||
int style = wxFLOOD_SURFACE);
|
||||
|
||||
//@{
|
||||
@ -362,7 +352,7 @@ public:
|
||||
/**
|
||||
Not implemented.
|
||||
*/
|
||||
void GetClippingBox(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
|
||||
void GetClippingBox(wxCoord *x, wxCoord *y, wxCoord *width, wxCoord *height);
|
||||
|
||||
//@{
|
||||
/**
|
||||
@ -444,7 +434,7 @@ public:
|
||||
void GetTextExtent(const wxString& string, wxCoord* w, wxCoord* h,
|
||||
wxCoord* descent = NULL,
|
||||
wxCoord* externalLeading = NULL,
|
||||
wxFont* font = NULL);
|
||||
const wxFont* font = NULL) const;
|
||||
|
||||
//@{
|
||||
/**
|
||||
|
@ -190,7 +190,7 @@ public:
|
||||
|
||||
@see @ref overview_dialog_autoscrolling (for more on layout adaptation)
|
||||
*/
|
||||
bool CanDoLayoutAdapation();
|
||||
bool CanDoLayoutAdaptation();
|
||||
|
||||
/**
|
||||
Centres the dialog box on the display.
|
||||
@ -251,7 +251,7 @@ public:
|
||||
|
||||
@see @ref overview_dialog_autoscrolling (for more on layout adaptation)
|
||||
*/
|
||||
bool DoLayoutAdapation();
|
||||
bool DoLayoutAdaptation();
|
||||
|
||||
/**
|
||||
This function is called when the titlebar OK button is pressed
|
||||
|
@ -312,7 +312,7 @@ public:
|
||||
*/
|
||||
wxFont(int pointSize, wxFontFamily family, int style,
|
||||
wxFontWeight weight,
|
||||
const bool underline = false,
|
||||
bool underline = false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
|
||||
@ -361,7 +361,7 @@ public:
|
||||
*/
|
||||
wxFont(const wxSize& pixelSize, wxFontFamily family,
|
||||
int style, wxFontWeight weight,
|
||||
const bool underline = false,
|
||||
bool underline = false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
//@}
|
||||
@ -475,7 +475,7 @@ public:
|
||||
*/
|
||||
static wxFont* New(int pointSize, wxFontFamily family, int style,
|
||||
wxFontWeight weight,
|
||||
const bool underline = false,
|
||||
bool underline = false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
static wxFont* New(int pointSize, wxFontFamily family,
|
||||
@ -486,7 +486,7 @@ public:
|
||||
wxFontFamily family,
|
||||
int style,
|
||||
wxFontWeight weight,
|
||||
const bool underline = false,
|
||||
bool underline = false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
static wxFont* New(const wxSize& pixelSize,
|
||||
|
@ -2306,8 +2306,8 @@ public:
|
||||
@true even if the cell is only partially visible.
|
||||
*/
|
||||
bool IsVisible(int row, int col, bool wholeCellVisible = true) const;
|
||||
const bool IsVisible(const wxGridCellCoords& coords,
|
||||
bool wholeCellVisible = true) const;
|
||||
bool IsVisible(const wxGridCellCoords& coords,
|
||||
bool wholeCellVisible = true) const;
|
||||
//@}
|
||||
|
||||
//@{
|
||||
|
@ -233,14 +233,14 @@ public:
|
||||
@param name
|
||||
Window name.
|
||||
*/
|
||||
wxHtmlListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n = 0,
|
||||
const wxString choices[] = NULL,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
wxSimpleHtmlListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n = 0,
|
||||
const wxString choices[] = NULL,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxSimpleHtmlListBoxNameStr);
|
||||
|
||||
/**
|
||||
Constructor, creating and showing the HTML list box.
|
||||
@ -262,13 +262,13 @@ public:
|
||||
@param name
|
||||
Window name.
|
||||
*/
|
||||
wxHtmlListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
wxSimpleHtmlListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxSimpleHtmlListBoxNameStr);
|
||||
|
||||
/**
|
||||
Default constructor, you must call Create() later.
|
||||
@ -292,14 +292,14 @@ public:
|
||||
const wxString choices[] = NULL,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
const wxString& name = wxSimpleHtmlListBoxNameStr);
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
const wxString& name = wxSimpleHtmlListBoxNameStr);
|
||||
//@}
|
||||
};
|
||||
|
||||
|
@ -231,8 +231,8 @@ public:
|
||||
Use IsOk() to check whether the wxPrintPreview object was created correctly.
|
||||
*/
|
||||
wxPrintPreview(wxPrintout* printout,
|
||||
wxPrintout* printoutForPrinting,
|
||||
wxPrintData* data = NULL);
|
||||
wxPrintout* printoutForPrinting = NULL,
|
||||
wxPrintDialogData* data = NULL);
|
||||
|
||||
/**
|
||||
Destructor.
|
||||
|
@ -121,6 +121,6 @@ public:
|
||||
Shows the dialog, returning @c wxID_OK if the user pressed OK, and
|
||||
@c wxID_CANCEL otherwise.
|
||||
*/
|
||||
int ShowModal();
|
||||
virtual int ShowModal();
|
||||
};
|
||||
|
||||
|
@ -105,7 +105,7 @@ public:
|
||||
If "Skip" button was pressed since last Update() call,
|
||||
this is set to @true.
|
||||
*/
|
||||
virtual bool Update(int value, const wxString& newmsg = "",
|
||||
virtual bool Update(int value, const wxString& newmsg = wxEmptyString,
|
||||
bool* skip = NULL);
|
||||
};
|
||||
|
||||
|
@ -116,7 +116,7 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_DIALOG_STYLE,
|
||||
const wxString& name = "dialogBox");
|
||||
const wxString& name = wxDialogNameStr);
|
||||
|
||||
/**
|
||||
Override this if you wish to add the book control in a way different from the
|
||||
|
@ -85,10 +85,10 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n = 0,
|
||||
const wxString choices[] = NULL,
|
||||
int majorDimension = 0,
|
||||
int majorDimension = 1,
|
||||
long style = wxRA_SPECIFY_COLS,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "radioBox");
|
||||
const wxString& name = wxRadioBoxNameStr);
|
||||
|
||||
/**
|
||||
Constructor, creating and showing a radiobox.
|
||||
@ -125,10 +125,10 @@ public:
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
int majorDimension = 0,
|
||||
int majorDimension = 1,
|
||||
long style = wxRA_SPECIFY_COLS,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "radioBox");
|
||||
const wxString& name = wxRadioBoxNameStr);
|
||||
|
||||
/**
|
||||
Destructor, destroying the radiobox item.
|
||||
@ -148,7 +148,7 @@ public:
|
||||
int majorDimension = 0,
|
||||
long style = wxRA_SPECIFY_COLS,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "radioBox");
|
||||
const wxString& name = wxRadioBoxNameStr);
|
||||
|
||||
/**
|
||||
Creates the radiobox for two-step construction. See wxRadioBox()
|
||||
@ -162,7 +162,7 @@ public:
|
||||
int majorDimension = 0,
|
||||
long style = wxRA_SPECIFY_COLS,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "radioBox");
|
||||
const wxString& name = wxRadioBoxNameStr);
|
||||
|
||||
/**
|
||||
Enables or disables an individual button in the radiobox.
|
||||
@ -314,5 +314,5 @@ public:
|
||||
@endWxPythonOnly
|
||||
|
||||
*/
|
||||
virtual bool Show(unsigned int item, const bool show = true);
|
||||
virtual bool Show(unsigned int item, bool show = true);
|
||||
};
|
||||
|
@ -83,7 +83,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "radioButton");
|
||||
const wxString& name = wxRadioButtonNameStr);
|
||||
|
||||
/**
|
||||
Destructor, destroying the radio button item.
|
||||
|
@ -198,7 +198,7 @@ public:
|
||||
May only be called after successful call to Compile().
|
||||
*/
|
||||
bool Matches(const wxChar* text, int flags = 0) const;
|
||||
const bool Matches(const wxChar* text, int flags, size_t len) const;
|
||||
bool Matches(const wxChar* text, int flags, size_t len) const;
|
||||
//@}
|
||||
|
||||
/**
|
||||
@ -210,7 +210,7 @@ public:
|
||||
|
||||
May only be called after successful call to Compile().
|
||||
*/
|
||||
const bool Matches(const wxString& text, int flags = 0) const;
|
||||
bool Matches(const wxString& text, int flags = 0) const;
|
||||
|
||||
/**
|
||||
Replaces the current regular expression in the string pointed to by
|
||||
|
@ -120,7 +120,7 @@ public:
|
||||
A wxPython alias for this operator is called Next.
|
||||
@endWxPythonOnly
|
||||
*/
|
||||
void operator ++();
|
||||
wxRegionIterator& operator ++();
|
||||
|
||||
/**
|
||||
Returns @true if there are still some rectangles; otherwise returns @false.
|
||||
@ -181,7 +181,7 @@ public:
|
||||
in the provided array.
|
||||
@a fillStyle parameter may have values @c wxWINDING_RULE or @c wxODDEVEN_RULE.
|
||||
*/
|
||||
wxRegion(size_t n, const wxPoint* points, int fillStyle = wxWINDING_RULE);
|
||||
wxRegion(size_t n, const wxPoint* points, int fillStyle = wxODDEVEN_RULE);
|
||||
/**
|
||||
Constructs a region using a bitmap. See Union() for more details.
|
||||
*/
|
||||
@ -210,7 +210,7 @@ public:
|
||||
|
||||
@return The return value is one of @c wxOutRegion and @c wxInRegion.
|
||||
*/
|
||||
wxRegionContain Contains(long& x, long& y) const;
|
||||
wxRegionContain Contains(wxCoord x, wxCoord y) const;
|
||||
/**
|
||||
Returns a value indicating whether the given point is contained within the region.
|
||||
|
||||
@ -227,7 +227,7 @@ public:
|
||||
::wxInRegion then indicates that all or some part of the region is
|
||||
contained in this region.
|
||||
*/
|
||||
wxRegionContain Contains(long& x, long& y, long& width, long& height) const;
|
||||
wxRegionContain Contains(wxCoord x, wxCoord y, wxCoord width, wxCoord height) const;
|
||||
/**
|
||||
Returns a value indicating whether the given rectangle is contained within the
|
||||
region.
|
||||
@ -252,7 +252,7 @@ public:
|
||||
*/
|
||||
void GetBox(wxCoord& x, wxCoord& y, wxCoord& width,
|
||||
wxCoord& height) const;
|
||||
const wxRect GetBox() const;
|
||||
wxRect GetBox() const;
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@ -524,13 +524,12 @@ public:
|
||||
/**
|
||||
Finds a handler by type.
|
||||
*/
|
||||
wxRichTextFileHandler* FindHandler(int imageType);
|
||||
static wxRichTextFileHandler* FindHandler(wxRichTextFileType imageType);
|
||||
|
||||
/**
|
||||
Finds a handler by extension and type.
|
||||
*/
|
||||
wxRichTextFileHandler* FindHandler(const wxString& extension,
|
||||
int imageType);
|
||||
static wxRichTextFileHandler* FindHandler(const wxString& extension, wxRichTextFileType imageType);
|
||||
|
||||
/**
|
||||
Finds a handler by name.
|
||||
@ -698,14 +697,14 @@ public:
|
||||
/**
|
||||
Loads content from a stream.
|
||||
*/
|
||||
bool LoadFile(wxInputStream& stream,
|
||||
int type = wxRICHTEXT_TYPE_ANY);
|
||||
virtual bool LoadFile(wxInputStream& stream,
|
||||
wxRichTextFileType type = wxRICHTEXT_TYPE_ANY);
|
||||
|
||||
/**
|
||||
Loads content from a file.
|
||||
*/
|
||||
bool LoadFile(const wxString& filename,
|
||||
int type = wxRICHTEXT_TYPE_ANY);
|
||||
virtual bool LoadFile(const wxString& filename,
|
||||
wxRichTextFileType type = wxRICHTEXT_TYPE_ANY);
|
||||
|
||||
/**
|
||||
Marks the buffer as modified or unmodified.
|
||||
@ -794,14 +793,14 @@ public:
|
||||
/**
|
||||
Saves content to a stream.
|
||||
*/
|
||||
bool SaveFile(wxOutputStream& stream,
|
||||
int type = wxRICHTEXT_TYPE_ANY);
|
||||
virtual bool SaveFile(wxOutputStream& stream,
|
||||
wxRichTextFileType type = wxRICHTEXT_TYPE_ANY);
|
||||
|
||||
/**
|
||||
Saves content to a file.
|
||||
*/
|
||||
bool SaveFile(const wxString& filename,
|
||||
int type = wxRICHTEXT_TYPE_ANY);
|
||||
virtual bool SaveFile(const wxString& filename,
|
||||
wxRichTextFileType type = wxRICHTEXT_TYPE_ANY);
|
||||
|
||||
/**
|
||||
Sets the basic (overall) style. This is the style of the whole
|
||||
|
@ -1456,7 +1456,7 @@ public:
|
||||
/**
|
||||
Loads an image from a file and writes it at the current insertion point.
|
||||
*/
|
||||
bool WriteImage(const wxString& filename, int bitmapType);
|
||||
virtual bool WriteImage(const wxString& filename, wxBitmapType bitmapType);
|
||||
|
||||
/**
|
||||
Writes an image block at the current insertion point.
|
||||
|
@ -144,7 +144,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSB_HORIZONTAL,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "scrollBar");
|
||||
const wxString& name = wxScrollBarNameStr);
|
||||
|
||||
/**
|
||||
Destructor, destroying the scrollbar.
|
||||
|
@ -1079,7 +1079,7 @@ public:
|
||||
|
||||
@see Remove()
|
||||
*/
|
||||
bool Detach(size_t index);
|
||||
virtual bool Detach(int index);
|
||||
|
||||
/**
|
||||
Tell the sizer to resize the @a window so that its client area matches the
|
||||
@ -1374,7 +1374,7 @@ public:
|
||||
|
||||
@return @true if the child item was found and removed, @false otherwise.
|
||||
*/
|
||||
bool Remove(wxWindow* window);
|
||||
virtual bool Remove(wxWindow* window);
|
||||
|
||||
/**
|
||||
Removes a sizer child from the sizer and destroys it.
|
||||
@ -1403,7 +1403,7 @@ public:
|
||||
|
||||
@return @true if the child item was found and removed, @false otherwise.
|
||||
*/
|
||||
bool Remove(size_t index);
|
||||
virtual bool Remove(int index);
|
||||
|
||||
/**
|
||||
Detaches the given @a oldwin from the sizer and replaces it with the
|
||||
@ -1473,7 +1473,7 @@ public:
|
||||
|
||||
@see wxSizerItem::SetMinSize()
|
||||
*/
|
||||
void SetItemMinSize(wxWindow* window, int width, int height);
|
||||
bool SetItemMinSize(wxWindow* window, int width, int height);
|
||||
|
||||
/**
|
||||
Set an item's minimum size by window, sizer, or position.
|
||||
@ -1484,7 +1484,7 @@ public:
|
||||
|
||||
@see wxSizerItem::SetMinSize()
|
||||
*/
|
||||
void SetItemMinSize(wxSizer* sizer, int width, int height);
|
||||
bool SetItemMinSize(wxSizer* sizer, int width, int height);
|
||||
|
||||
/**
|
||||
Set an item's minimum size by window, sizer, or position.
|
||||
@ -1495,7 +1495,7 @@ public:
|
||||
|
||||
@see wxSizerItem::SetMinSize()
|
||||
*/
|
||||
void SetItemMinSize(size_t index, int width, int height);
|
||||
bool SetItemMinSize(size_t index, int width, int height);
|
||||
|
||||
/**
|
||||
Call this to give the sizer a minimal size.
|
||||
@ -1678,7 +1678,7 @@ public:
|
||||
/**
|
||||
This constructor creates a new static box with the given label and parent window.
|
||||
*/
|
||||
wxStaticBoxSizer(int orient, wxWindow parent,
|
||||
wxStaticBoxSizer(int orient, wxWindow *parent,
|
||||
const wxString& label = wxEmptyString);
|
||||
|
||||
/**
|
||||
|
@ -151,7 +151,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSL_HORIZONTAL,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "slider");
|
||||
const wxString& name = wxSliderNameStr);
|
||||
|
||||
/**
|
||||
Destructor, destroying the slider.
|
||||
|
@ -124,10 +124,10 @@ public:
|
||||
|
||||
@see Create()
|
||||
*/
|
||||
wxSpinButton(wxWindow* parent, wxWindowID id,
|
||||
wxSpinButton(wxWindow* parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSP_HORIZONTAL,
|
||||
long style = wxSP_VERTICAL,
|
||||
const wxString& name = "spinButton");
|
||||
|
||||
/**
|
||||
@ -141,7 +141,8 @@ public:
|
||||
*/
|
||||
bool Create(wxWindow* parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = wxSP_HORIZONTAL,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSP_VERTICAL,
|
||||
const wxString& name = "wxSpinButton");
|
||||
|
||||
/**
|
||||
|
@ -79,13 +79,13 @@ public:
|
||||
|
||||
@see Create()
|
||||
*/
|
||||
wxSpinCtrl(wxWindow* parent, wxWindowID id = -1,
|
||||
wxSpinCtrl(wxWindow* parent, wxWindowID id = wxID_ANY,
|
||||
const wxString& value = wxEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSP_ARROW_KEYS,
|
||||
int min = 0, int max = 100,
|
||||
int initial = 0, const wxString& name = _T("wxSpinCtrl"));
|
||||
int initial = 0, const wxString& name = "wxSpinCtrl");
|
||||
|
||||
/**
|
||||
Creation function called by the spin control constructor.
|
||||
|
@ -95,7 +95,7 @@ public:
|
||||
|
||||
@see Initialize(), SplitVertically(), SplitHorizontally(), Create()
|
||||
*/
|
||||
wxSplitterWindow(wxWindow* parent, wxWindowID id,
|
||||
wxSplitterWindow(wxWindow* parent, wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSP_3D,
|
||||
|
@ -87,7 +87,7 @@ public:
|
||||
@see wxTextCtrl::Create, wxValidator
|
||||
*/
|
||||
wxSearchCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value = "",
|
||||
const wxString& value = wxEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
@ -47,7 +47,7 @@ public:
|
||||
/**
|
||||
Constructor does nothing, use Walk() to walk the stack.
|
||||
*/
|
||||
wxStackWalker();
|
||||
wxStackWalker(const char* argv0 = NULL);
|
||||
|
||||
/**
|
||||
Destructor does nothing neither but should be virtual as this class is used as
|
||||
|
@ -56,7 +56,7 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = "staticBitmap");
|
||||
const wxString& name = wxStaticBitmapNameStr);
|
||||
|
||||
/**
|
||||
Creation function, for two-step construction. For details see wxStaticBitmap().
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = "staticBox");
|
||||
const wxString& name = wxStaticBoxNameStr);
|
||||
|
||||
/**
|
||||
Destructor, destroying the group box.
|
||||
|
@ -61,7 +61,7 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxLI_HORIZONTAL,
|
||||
const wxString& name = "staticLine");
|
||||
const wxString& name = wxStaticLineNameStr);
|
||||
|
||||
/**
|
||||
Creates the static line for two-step construction.
|
||||
|
@ -76,7 +76,7 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = "staticText");
|
||||
const wxString& name = wxStaticTextNameStr);
|
||||
|
||||
/**
|
||||
Creation function, for two-step construction. For details see wxStaticText().
|
||||
|
@ -56,7 +56,7 @@ public:
|
||||
*/
|
||||
wxStatusBar(wxWindow* parent, wxWindowID id = wxID_ANY,
|
||||
long style = wxST_SIZEGRIP,
|
||||
const wxString& name = "statusBar");
|
||||
const wxString& name = wxStatusBarNameStr);
|
||||
|
||||
/**
|
||||
Destructor.
|
||||
|
@ -290,7 +290,7 @@ public:
|
||||
|
||||
@see Write()
|
||||
*/
|
||||
Return value size_t Read(wxStreamBuffer* buffer);
|
||||
size_t Read(wxStreamBuffer* buffer);
|
||||
|
||||
/**
|
||||
Resets to the initial state variables concerning the buffer.
|
||||
@ -326,7 +326,7 @@ public:
|
||||
|
||||
@see wxStreamBuffer(), Fixed(), Flushable()
|
||||
*/
|
||||
void SetBufferIO(char* buffer_start, char* buffer_end);
|
||||
void SetBufferIO(void* start, void* end, bool takeOwnership = false);
|
||||
|
||||
/**
|
||||
Destroys or invalidates the previous IO buffer and allocates a new one of the
|
||||
@ -463,7 +463,7 @@ public:
|
||||
This function returns a reference on the current object, so the user can
|
||||
test any states of the stream right away.
|
||||
*/
|
||||
wxOutputStream& Write(const void* buffer, size_t size);
|
||||
virtual wxOutputStream& Write(const void* buffer, size_t size);
|
||||
|
||||
/**
|
||||
Reads data from the specified input stream and stores them
|
||||
|
@ -1636,7 +1636,7 @@ public:
|
||||
|
||||
/**
|
||||
Sets the new text control value.
|
||||
|
||||
|
||||
It also marks the control as not-modified which means that IsModified()
|
||||
would return @false immediately after the call to SetValue().
|
||||
|
||||
@ -1771,7 +1771,7 @@ public:
|
||||
@param ostr
|
||||
The C++ stream to redirect, cout is used if it is @NULL
|
||||
*/
|
||||
wxStreamToTextRedirector(wxTextCtrl text, ostream* ostr = NULL);
|
||||
wxStreamToTextRedirector(wxTextCtrl *text, ostream* ostr);
|
||||
|
||||
/**
|
||||
When a wxStreamToTextRedirector object is destroyed, the redirection is ended
|
||||
|
@ -384,9 +384,9 @@ public:
|
||||
bool operator !=(const wxString& value) const;
|
||||
bool operator !=(const wxChar* value) const;
|
||||
bool operator !=(wxChar value) const;
|
||||
bool operator !=(const long value) const;
|
||||
bool operator !=(const bool value) const;
|
||||
bool operator !=(const double value) const;
|
||||
bool operator !=(long value) const;
|
||||
bool operator !=(bool value) const;
|
||||
bool operator !=(double value) const;
|
||||
bool operator !=(void* value) const;
|
||||
bool operator !=(wxObject* value) const;
|
||||
bool operator !=(const wxVariantList& value) const;
|
||||
@ -404,9 +404,9 @@ public:
|
||||
void operator =(const wxString& value);
|
||||
void operator =(const wxChar* value);
|
||||
void operator =(wxChar value);
|
||||
void operator =(const long value);
|
||||
void operator =(const bool value);
|
||||
void operator =(const double value);
|
||||
void operator =(long value);
|
||||
void operator =(bool value);
|
||||
void operator =(double value);
|
||||
void operator =(void* value);
|
||||
void operator =(wxObject* value);
|
||||
void operator =(const wxVariantList& value);
|
||||
@ -422,9 +422,9 @@ public:
|
||||
bool operator ==(const wxString& value) const;
|
||||
bool operator ==(const wxChar* value) const;
|
||||
bool operator ==(wxChar value) const;
|
||||
bool operator ==(const long value) const;
|
||||
bool operator ==(const bool value) const;
|
||||
bool operator ==(const double value) const;
|
||||
bool operator ==(long value) const;
|
||||
bool operator ==(bool value) const;
|
||||
bool operator ==(double value) const;
|
||||
bool operator ==(void* value) const;
|
||||
bool operator ==(wxObject* value) const;
|
||||
bool operator ==(const wxVariantList& value) const;
|
||||
|
Loading…
Reference in New Issue
Block a user