ifacecheck manual fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,6 +38,7 @@ public:
|
|||||||
Default constructor.
|
Default constructor.
|
||||||
*/
|
*/
|
||||||
wxGenericDirCtrl();
|
wxGenericDirCtrl();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Main constructor.
|
Main constructor.
|
||||||
|
|
||||||
@@ -63,7 +64,7 @@ public:
|
|||||||
@param name
|
@param name
|
||||||
The window name.
|
The window name.
|
||||||
*/
|
*/
|
||||||
wxGenericDirCtrl(wxWindow* parent, const wxWindowID id = -1,
|
wxGenericDirCtrl(wxWindow* parent, const wxWindowID id = wxID_ANY,
|
||||||
const wxString& dir = wxDirDialogDefaultFolderStr,
|
const wxString& dir = wxDirDialogDefaultFolderStr,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
|
@@ -417,8 +417,8 @@ public:
|
|||||||
@param eventSink
|
@param eventSink
|
||||||
Object whose member function should be called.
|
Object whose member function should be called.
|
||||||
*/
|
*/
|
||||||
bool Disconnect(wxEventType eventType = wxEVT_NULL,
|
bool Disconnect(wxEventType eventType,
|
||||||
wxObjectEventFunction function = NULL,
|
wxObjectEventFunction function,
|
||||||
wxObject* userData = NULL,
|
wxObject* userData = NULL,
|
||||||
wxEvtHandler* eventSink = NULL);
|
wxEvtHandler* eventSink = NULL);
|
||||||
|
|
||||||
@@ -440,8 +440,8 @@ public:
|
|||||||
|
|
||||||
This overload takes an additional range of source IDs.
|
This overload takes an additional range of source IDs.
|
||||||
*/
|
*/
|
||||||
bool Disconnect(int id, int lastId = wxID_ANY,
|
bool Disconnect(int id, int lastId,
|
||||||
wxEventType eventType = wxEVT_NULL,
|
wxEventType eventType,
|
||||||
wxObjectEventFunction function = NULL,
|
wxObjectEventFunction function = NULL,
|
||||||
wxObject* userData = NULL,
|
wxObject* userData = NULL,
|
||||||
wxEvtHandler* eventSink = NULL);
|
wxEvtHandler* eventSink = NULL);
|
||||||
@@ -2333,13 +2333,10 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
Indicates how a wxHelpEvent was generated.
|
|
||||||
*/
|
|
||||||
enum wxHelpEventOrigin
|
enum wxHelpEventOrigin
|
||||||
{
|
{
|
||||||
wxHE_ORIGIN_UNKNOWN = -1, /**< unrecognized event source. */
|
wxHE_ORIGIN_UNKNOWN = -1,
|
||||||
wxHE_ORIGIN_KEYBOARD, /**< event generated from F1 key press. */
|
wxHE_ORIGIN_KEYBOARD,
|
||||||
|
|
||||||
/** event generated by wxContextHelp or from the [?] button on
|
/** event generated by wxContextHelp or from the [?] button on
|
||||||
the title bar (Windows). */
|
the title bar (Windows). */
|
||||||
@@ -2382,13 +2379,26 @@ enum wxHelpEventOrigin
|
|||||||
class wxHelpEvent : public wxCommandEvent
|
class wxHelpEvent : public wxCommandEvent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
/**
|
||||||
|
Indicates how a wxHelpEvent was generated.
|
||||||
|
*/
|
||||||
|
enum Origin
|
||||||
|
{
|
||||||
|
Origin_Unknown, /**< unrecognized event source. */
|
||||||
|
Origin_Keyboard, /**< event generated from F1 key press. */
|
||||||
|
|
||||||
|
/** event generated by wxContextHelp or from the [?] button on
|
||||||
|
the title bar (Windows). */
|
||||||
|
Origin_HelpButton
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Constructor.
|
Constructor.
|
||||||
*/
|
*/
|
||||||
wxHelpEvent(wxEventType type = wxEVT_NULL,
|
wxHelpEvent(wxEventType type = wxEVT_NULL,
|
||||||
wxWindowID winid = 0,
|
wxWindowID winid = 0,
|
||||||
const wxPoint& pt = wxDefaultPosition,
|
const wxPoint& pt = wxDefaultPosition,
|
||||||
wxHelpEventOrigin origin = wxHE_ORIGIN_UNKNOWN);
|
wxHelpEvent::Origin origin = Origin_Unknown);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the origin of the help event which is one of the ::wxHelpEventOrigin
|
Returns the origin of the help event which is one of the ::wxHelpEventOrigin
|
||||||
|
@@ -88,7 +88,7 @@ public:
|
|||||||
long style = wxFC_DEFAULT_STYLE,
|
long style = wxFC_DEFAULT_STYLE,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
const wxString& name = "filectrl");
|
const wxString& name = wxFileCtrlNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Create function for two-step construction. See wxFileCtrl() for details.
|
Create function for two-step construction. See wxFileCtrl() for details.
|
||||||
@@ -206,7 +206,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Constructor.
|
Constructor.
|
||||||
*/
|
*/
|
||||||
wxFileCtrlEvent(wxEventType type, wxObject evtObject, int id);
|
wxFileCtrlEvent(wxEventType type, wxObject *evtObject, int id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the current directory.
|
Returns the current directory.
|
||||||
|
@@ -90,14 +90,14 @@ public:
|
|||||||
Dialog name. Not implemented.
|
Dialog name. Not implemented.
|
||||||
*/
|
*/
|
||||||
wxFileDialog(wxWindow* parent,
|
wxFileDialog(wxWindow* parent,
|
||||||
const wxString& message = "Choose a file",
|
const wxString& message = wxFileSelectorPromptStr,
|
||||||
const wxString& defaultDir = "",
|
const wxString& defaultDir = wxEmptyString,
|
||||||
const wxString& defaultFile = "",
|
const wxString& defaultFile = wxEmptyString,
|
||||||
const wxString& wildcard = ".",
|
const wxString& wildcard = wxFileSelectorDefaultWildcardStr,
|
||||||
long style = wxFD_DEFAULT_STYLE,
|
long style = wxFD_DEFAULT_STYLE,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
const wxString& name = "filedlg");
|
const wxString& name = wxFileDialogNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destructor.
|
Destructor.
|
||||||
|
@@ -334,14 +334,17 @@ public:
|
|||||||
*/
|
*/
|
||||||
void AssignHomeDir();
|
void AssignHomeDir();
|
||||||
|
|
||||||
|
//@{
|
||||||
/**
|
/**
|
||||||
The function calls CreateTempFileName() to create a temporary file
|
The function calls CreateTempFileName() to create a temporary file
|
||||||
and sets this object to the name of the file.
|
and sets this object to the name of the file.
|
||||||
|
|
||||||
If a temporary file couldn't be created, the object is put into
|
If a temporary file couldn't be created, the object is put into
|
||||||
an invalid state (see IsOk())
|
an invalid state (see IsOk())
|
||||||
*/
|
*/
|
||||||
void AssignTempFileName(const wxString& prefix,
|
void AssignTempFileName(const wxString& prefix, wxFile* fileTemp);
|
||||||
wxFile* fileTemp = NULL);
|
void AssignTempFileName(const wxString& prefix, wxFFile* fileTemp);
|
||||||
|
//@}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reset all components to default, uninitialized state.
|
Reset all components to default, uninitialized state.
|
||||||
|
@@ -63,13 +63,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
wxFilePickerCtrl(wxWindow* parent, wxWindowID id,
|
wxFilePickerCtrl(wxWindow* parent, wxWindowID id,
|
||||||
const wxString& path = wxEmptyString,
|
const wxString& path = wxEmptyString,
|
||||||
const wxString& message = "Select a file",
|
const wxString& message = wxFileSelectorPromptStr,
|
||||||
const wxString& wildcard = ".",
|
const wxString& wildcard = wxFileSelectorDefaultWildcardStr,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxFLP_DEFAULT_STYLE,
|
long style = wxFLP_DEFAULT_STYLE,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString& name = "filepickerctrl");
|
const wxString& name = wxFilePickerCtrlNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates this widget with the given parameters.
|
Creates this widget with the given parameters.
|
||||||
@@ -282,7 +282,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
wxFileDirPickerEvent(wxEventType type, wxObject* generator,
|
wxFileDirPickerEvent(wxEventType type, wxObject* generator,
|
||||||
int id,
|
int id,
|
||||||
const wxString path);
|
const wxString& path);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Retrieve the absolute path of the file/directory the user has just selected.
|
Retrieve the absolute path of the file/directory the user has just selected.
|
||||||
|
@@ -529,7 +529,7 @@ public:
|
|||||||
|
|
||||||
@see GetFamily(), SetFaceName()
|
@see GetFamily(), SetFaceName()
|
||||||
*/
|
*/
|
||||||
void SetFamily(wxFontFamily family);
|
virtual void SetFamily(wxFontFamily family);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates the font corresponding to the given native font description string
|
Creates the font corresponding to the given native font description string
|
||||||
@@ -586,7 +586,7 @@ public:
|
|||||||
|
|
||||||
@see GetStyle()
|
@see GetStyle()
|
||||||
*/
|
*/
|
||||||
void SetStyle(wxFontStyle style);
|
virtual void SetStyle(wxFontStyle style);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets underlining.
|
Sets underlining.
|
||||||
@@ -606,7 +606,7 @@ public:
|
|||||||
|
|
||||||
@see GetWeight()
|
@see GetWeight()
|
||||||
*/
|
*/
|
||||||
void SetWeight(wxFontWeight weight);
|
virtual void SetWeight(wxFontWeight weight);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Inequality operator.
|
Inequality operator.
|
||||||
@@ -692,10 +692,9 @@ public:
|
|||||||
Finds a font of the given specification, or creates one and adds it to the
|
Finds a font of the given specification, or creates one and adds it to the
|
||||||
list. See the @ref wxFont "wxFont constructor" for details of the arguments.
|
list. See the @ref wxFont "wxFont constructor" for details of the arguments.
|
||||||
*/
|
*/
|
||||||
wxFont* FindOrCreateFont(int point_size, int family, int style,
|
wxFont* FindOrCreateFont(int point_size, wxFontFamily family, wxFontStyle style,
|
||||||
int weight,
|
wxFontWeight weight, bool underline = false,
|
||||||
bool underline = false,
|
const wxString& facename = wxEmptyString,
|
||||||
const wxString& facename = NULL,
|
|
||||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -59,7 +59,7 @@ public:
|
|||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxFNTP_DEFAULT_STYLE,
|
long style = wxFNTP_DEFAULT_STYLE,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString& name = "fontpickerctrl");
|
const wxString& name = wxFontPickerCtrlNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates this widget with given parameters.
|
Creates this widget with given parameters.
|
||||||
|
@@ -332,7 +332,7 @@ public:
|
|||||||
@param id
|
@param id
|
||||||
The identifier for a menu item.
|
The identifier for a menu item.
|
||||||
*/
|
*/
|
||||||
void ProcessCommand(int id);
|
bool ProcessCommand(int id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Tells the frame to show the given menu bar.
|
Tells the frame to show the given menu bar.
|
||||||
|
@@ -74,7 +74,7 @@ public:
|
|||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxGA_HORIZONTAL,
|
long style = wxGA_HORIZONTAL,
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
const wxString& name = "gauge");
|
const wxString& name = wxGaugeNameStr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destructor, destroying the gauge.
|
Destructor, destroying the gauge.
|
||||||
|
@@ -261,7 +261,7 @@ public:
|
|||||||
|
|
||||||
@return @false if an error occurred.
|
@return @false if an error occurred.
|
||||||
*/
|
*/
|
||||||
bool SetCurrent(const wxGLContext context);
|
bool SetCurrent(const wxGLContext& context) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Swaps the double-buffer of this window, making the back-buffer the
|
Swaps the double-buffer of this window, making the back-buffer the
|
||||||
|
@@ -53,7 +53,7 @@ public:
|
|||||||
Adds a cubic bezier curve from the current point, using two control
|
Adds a cubic bezier curve from the current point, using two control
|
||||||
points and an end point.
|
points and an end point.
|
||||||
*/
|
*/
|
||||||
void AddCurveToPoint(wxDouble cx1, wxDouble cy1,
|
virtual void AddCurveToPoint(wxDouble cx1, wxDouble cy1,
|
||||||
wxDouble cx2, wxDouble cy2,
|
wxDouble cx2, wxDouble cy2,
|
||||||
wxDouble x, wxDouble y);
|
wxDouble x, wxDouble y);
|
||||||
/**
|
/**
|
||||||
@@ -319,12 +319,12 @@ public:
|
|||||||
Creates a native brush, having a linear gradient, starting at (x1,y1) with
|
Creates a native brush, having a linear gradient, starting at (x1,y1) with
|
||||||
color c1 to (x2,y2) with color c2
|
color c1 to (x2,y2) with color c2
|
||||||
*/
|
*/
|
||||||
wxGraphicsBrush CreateLinearGradientBrush(wxDouble x1,
|
virtual wxGraphicsBrush CreateLinearGradientBrush(wxDouble x1,
|
||||||
wxDouble y1,
|
wxDouble y1,
|
||||||
wxDouble x2,
|
wxDouble x2,
|
||||||
wxDouble y2,
|
wxDouble y2,
|
||||||
const wxColouramp;c1,
|
const wxColour& c1,
|
||||||
const wxColouramp;c2) const;
|
const wxColour& c2) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native affine transformation matrix from the passed in values. The
|
Creates a native affine transformation matrix from the passed in values. The
|
||||||
@@ -588,8 +588,8 @@ public:
|
|||||||
wxDouble y1,
|
wxDouble y1,
|
||||||
wxDouble x2,
|
wxDouble x2,
|
||||||
wxDouble y2,
|
wxDouble y2,
|
||||||
const wxColouramp;c1,
|
const wxColour& c1,
|
||||||
const wxColouramp;c2);
|
const wxColour& c2) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a native affine transformation matrix from the passed in values. The
|
Creates a native affine transformation matrix from the passed in values. The
|
||||||
|
@@ -1680,7 +1680,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Overridden wxWindow method.
|
Overridden wxWindow method.
|
||||||
*/
|
*/
|
||||||
void Fit();
|
virtual void Fit();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Causes immediate repainting of the grid.
|
Causes immediate repainting of the grid.
|
||||||
|
@@ -54,7 +54,7 @@ public:
|
|||||||
Constructor. @a key_type is one of wxKEY_INTEGER, or wxKEY_STRING,
|
Constructor. @a key_type is one of wxKEY_INTEGER, or wxKEY_STRING,
|
||||||
and indicates what sort of keying is required. @a size is optional.
|
and indicates what sort of keying is required. @a size is optional.
|
||||||
*/
|
*/
|
||||||
wxHashTable(unsigned int key_type, int size = 1000);
|
wxHashTable(wxKeyType key_type = wxKEY_INTEGER, size_t size = 1000);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destroys the hash table.
|
Destroys the hash table.
|
||||||
|
@@ -101,7 +101,7 @@ public:
|
|||||||
@param showWaitMsg
|
@param showWaitMsg
|
||||||
If @true then a decoration-less window with progress message is displayed.
|
If @true then a decoration-less window with progress message is displayed.
|
||||||
*/
|
*/
|
||||||
bool AddBook(const wxFileName& bookFile, bool showWaitMsg);
|
bool AddBook(const wxFileName& bookFile, bool showWaitMsg = false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Adds a book (i.e. a @ref overview_html_helpformats ".hhp file"; an HTML Help
|
Adds a book (i.e. a @ref overview_html_helpformats ".hhp file"; an HTML Help
|
||||||
@@ -115,7 +115,7 @@ public:
|
|||||||
@param showWaitMsg
|
@param showWaitMsg
|
||||||
If @true then a decoration-less window with progress message is displayed.
|
If @true then a decoration-less window with progress message is displayed.
|
||||||
*/
|
*/
|
||||||
bool AddBook(const wxString& bookUrl, bool showWaitMsg);
|
bool AddBook(const wxString& bookUrl, bool showWaitMsg = false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Displays page @a x.
|
Displays page @a x.
|
||||||
@@ -133,14 +133,14 @@ public:
|
|||||||
-# try to find x in index (if x is for example "How To ...")
|
-# try to find x in index (if x is for example "How To ...")
|
||||||
-# switch to Search panel and start searching
|
-# switch to Search panel and start searching
|
||||||
*/
|
*/
|
||||||
void Display(const wxString& x);
|
bool Display(const wxString& x);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@overload
|
@overload
|
||||||
|
|
||||||
This alternative form is used to search help contents by numeric IDs.
|
This alternative form is used to search help contents by numeric IDs.
|
||||||
*/
|
*/
|
||||||
void Display(const int id);
|
bool Display(int id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Displays help window and focuses contents panel.
|
Displays help window and focuses contents panel.
|
||||||
|
@@ -29,7 +29,9 @@ public:
|
|||||||
wxHtmlHelpFrame(wxWindow* parent, int wxWindowID,
|
wxHtmlHelpFrame(wxWindow* parent, int wxWindowID,
|
||||||
const wxString& title = wxEmptyString,
|
const wxString& title = wxEmptyString,
|
||||||
int style = wxHF_DEFAULT_STYLE,
|
int style = wxHF_DEFAULT_STYLE,
|
||||||
wxHtmlHelpData* data = NULL);
|
wxHtmlHelpData* data = NULL,
|
||||||
|
wxConfigBase* config = NULL,
|
||||||
|
const wxString& rootpath = wxEmptyString);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
You may override this virtual method to add more buttons to the help window's
|
You may override this virtual method to add more buttons to the help window's
|
||||||
|
@@ -139,7 +139,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Parses the m_Source from @a begin_pos to @a end_pos - 1.
|
Parses the m_Source from @a begin_pos to @a end_pos - 1.
|
||||||
*/
|
*/
|
||||||
void DoParsing(int begin_pos, int end_pos);
|
void DoParsing(const const_iterator& begin_pos, const const_iterator& end_pos);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Parses the whole m_Source.
|
Parses the whole m_Source.
|
||||||
|
@@ -148,6 +148,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool HasParam(const wxString& par) const;
|
bool HasParam(const wxString& par) const;
|
||||||
|
|
||||||
|
//@{
|
||||||
/**
|
/**
|
||||||
This method scans the given parameter. Usage is exactly the same as sscanf's
|
This method scans the given parameter. Usage is exactly the same as sscanf's
|
||||||
usage except that you don't pass a string but a parameter name as the first
|
usage except that you don't pass a string but a parameter name as the first
|
||||||
@@ -161,6 +162,8 @@ public:
|
|||||||
@param value
|
@param value
|
||||||
pointer to a variable to store the value in
|
pointer to a variable to store the value in
|
||||||
*/
|
*/
|
||||||
wxString ScanParam(const wxString& par, const wxChar* format, void* value) const;
|
int ScanParam(const wxString& par, const wchar_t* format, void* value) const;
|
||||||
|
int ScanParam(const wxString& par, const char* format, void* value) const;
|
||||||
|
//@}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -61,12 +61,11 @@ public:
|
|||||||
Constructor.
|
Constructor.
|
||||||
The parameters are the same as wxScrolled::wxScrolled() constructor.
|
The parameters are the same as wxScrolled::wxScrolled() constructor.
|
||||||
*/
|
*/
|
||||||
wxHtmlWindow(wxWindow parent, wxWindowID id = -1,
|
wxHtmlWindow(wxWindow *parent, wxWindowID id = wxID_ANY,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxSize& size = wxDefaultSize,
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxHW_DEFAULT_STYLE,
|
long style = wxHW_DEFAULT_STYLE,
|
||||||
const wxString& name = "htmlWindow");
|
const wxString& name = "htmlWindow");
|
||||||
//@}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Adds @ref overview_html_filters "input filter" to the static list of available
|
Adds @ref overview_html_filters "input filter" to the static list of available
|
||||||
@@ -464,7 +463,8 @@ public:
|
|||||||
*/
|
*/
|
||||||
wxHtmlCellEvent(wxEventType commandType, int id,
|
wxHtmlCellEvent(wxEventType commandType, int id,
|
||||||
wxHtmlCell* cell,
|
wxHtmlCell* cell,
|
||||||
const wxPoint& point);
|
const wxPoint& point,
|
||||||
|
const wxMouseEvent& ev);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the wxHtmlCellEvent associated with the event.
|
Returns the wxHtmlCellEvent associated with the event.
|
||||||
|
@@ -59,7 +59,7 @@ public:
|
|||||||
<b>Render() changes the DC's user scale and does NOT restore it.</b>
|
<b>Render() changes the DC's user scale and does NOT restore it.</b>
|
||||||
*/
|
*/
|
||||||
int Render(int x, int y, wxArrayInt& known_pagebreaks, int from = 0,
|
int Render(int x, int y, wxArrayInt& known_pagebreaks, int from = 0,
|
||||||
int dont_render = 0, int to = INT_MAX);
|
int dont_render = false, int to = INT_MAX);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Assign DC instance to the renderer.
|
Assign DC instance to the renderer.
|
||||||
|
@@ -90,24 +90,13 @@ public:
|
|||||||
@param bits
|
@param bits
|
||||||
Specifies an array of pixel values.
|
Specifies an array of pixel values.
|
||||||
@param width
|
@param width
|
||||||
Specifies the width of the bitmap.
|
The width of the image.
|
||||||
@param height
|
@param height
|
||||||
Specifies the height of the bitmap.
|
The height of the image.
|
||||||
@param depth
|
|
||||||
Specifies the depth of the bitmap.
|
@onlyfor{wxmsw,wxmac}
|
||||||
If this is omitted, then a value of 1 (monochrome bitmap) is used.
|
|
||||||
*/
|
*/
|
||||||
wxIcon(const char bits[], int width, int height, int depth = 1);
|
wxIcon(const char bits[], int width, int height);
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
Creates a new icon. A depth of ::wxICON_SCREEN_DEPTH indicates the
|
|
||||||
depth of the current screen or visual.
|
|
||||||
|
|
||||||
Some platforms only support 1 for monochrome and ::wxICON_SCREEN_DEPTH for
|
|
||||||
the current colour setting.
|
|
||||||
*/
|
|
||||||
wxIcon(int width, int height, int depth = wxICON_SCREEN_DEPTH);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Creates a bitmap from XPM data.
|
Creates a bitmap from XPM data.
|
||||||
|
@@ -73,7 +73,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Same as @code GetIcon( wxSize( size, size ) ) @endcode.
|
Same as @code GetIcon( wxSize( size, size ) ) @endcode.
|
||||||
*/
|
*/
|
||||||
const wxIcon GetIcon(wxCoord size = -1) const;
|
wxIcon GetIcon(wxCoord size = wxDefaultCoord) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns the icon with exactly the given size or ::wxNullIcon if this
|
Returns the icon with exactly the given size or ::wxNullIcon if this
|
||||||
|
@@ -405,8 +405,10 @@ public:
|
|||||||
@class wxLogStderr
|
@class wxLogStderr
|
||||||
|
|
||||||
This class can be used to redirect the log messages to a C file stream (not to
|
This class can be used to redirect the log messages to a C file stream (not to
|
||||||
be confused with C++ streams). It is the default log target for the non-GUI
|
be confused with C++ streams).
|
||||||
wxWidgets applications which send all the output to @c stderr.
|
|
||||||
|
It is the default log target for the non-GUI wxWidgets applications which
|
||||||
|
send all the output to @c stderr.
|
||||||
|
|
||||||
@library{wxbase}
|
@library{wxbase}
|
||||||
@category{logging}
|
@category{logging}
|
||||||
@@ -527,6 +529,9 @@ public:
|
|||||||
Otherwise, it is completely hidden behind the @e wxLogXXX() functions and
|
Otherwise, it is completely hidden behind the @e wxLogXXX() functions and
|
||||||
you may not even know about its existence.
|
you may not even know about its existence.
|
||||||
|
|
||||||
|
@note For console-mode applications, the default target is wxLogStderr, so
|
||||||
|
that all @e wxLogXXX() functions print on @c stderr when @c wxUSE_GUI = 0.
|
||||||
|
|
||||||
|
|
||||||
@section log_derivingyours Deriving your own log target
|
@section log_derivingyours Deriving your own log target
|
||||||
|
|
||||||
@@ -627,7 +632,8 @@ public:
|
|||||||
@li SetRepetitionCounting()
|
@li SetRepetitionCounting()
|
||||||
@li GetRepetitionCounting()
|
@li GetRepetitionCounting()
|
||||||
|
|
||||||
@note Timestamping is disabled for Visual C++ users in debug builds by
|
@note
|
||||||
|
Timestamping is disabled for Visual C++ users in debug builds by
|
||||||
default because otherwise it would be impossible to directly go to the line
|
default because otherwise it would be impossible to directly go to the line
|
||||||
from which the log message was generated by simply clicking in the debugger
|
from which the log message was generated by simply clicking in the debugger
|
||||||
window on the corresponding error message. If you wish to enable it, please
|
window on the corresponding error message. If you wish to enable it, please
|
||||||
|
@@ -1435,9 +1435,9 @@ public:
|
|||||||
only redrawing those areas, which have been exposed.
|
only redrawing those areas, which have been exposed.
|
||||||
*/
|
*/
|
||||||
bool IsExposed(int x, int y) const;
|
bool IsExposed(int x, int y) const;
|
||||||
const bool IsExposed(wxPoint amp;pt) const;
|
bool IsExposed(wxPoint& pt) const;
|
||||||
const bool IsExposed(int x, int y, int w, int h) const;
|
bool IsExposed(int x, int y, int w, int h) const;
|
||||||
const bool IsExposed(wxRect amp;rect) const;
|
bool IsExposed(wxRect& rect) const;
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user