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:
Francesco Montorsi
2008-11-09 16:46:52 +00:00
parent c9c1faa490
commit a44f3b5a89
24 changed files with 101 additions and 88 deletions

View File

@@ -417,8 +417,8 @@ public:
@param eventSink
Object whose member function should be called.
*/
bool Disconnect(wxEventType eventType = wxEVT_NULL,
wxObjectEventFunction function = NULL,
bool Disconnect(wxEventType eventType,
wxObjectEventFunction function,
wxObject* userData = NULL,
wxEvtHandler* eventSink = NULL);
@@ -440,8 +440,8 @@ public:
This overload takes an additional range of source IDs.
*/
bool Disconnect(int id, int lastId = wxID_ANY,
wxEventType eventType = wxEVT_NULL,
bool Disconnect(int id, int lastId,
wxEventType eventType,
wxObjectEventFunction function = NULL,
wxObject* userData = NULL,
wxEvtHandler* eventSink = NULL);
@@ -2333,13 +2333,10 @@ public:
/**
Indicates how a wxHelpEvent was generated.
*/
enum wxHelpEventOrigin
{
wxHE_ORIGIN_UNKNOWN = -1, /**< unrecognized event source. */
wxHE_ORIGIN_KEYBOARD, /**< event generated from F1 key press. */
wxHE_ORIGIN_UNKNOWN = -1,
wxHE_ORIGIN_KEYBOARD,
/** event generated by wxContextHelp or from the [?] button on
the title bar (Windows). */
@@ -2382,13 +2379,26 @@ enum wxHelpEventOrigin
class wxHelpEvent : public wxCommandEvent
{
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.
*/
wxHelpEvent(wxEventType type = wxEVT_NULL,
wxWindowID winid = 0,
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