Various changes needed to get up to date with current CVS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-09-30 21:04:25 +00:00
parent 3c623cf7d9
commit 7ea515abfb
10 changed files with 276 additions and 121 deletions

View File

@@ -46,17 +46,18 @@ int wxNewEventType();
class wxEvent : public wxObject {
public:
// wxEvent(int id = 0); // *** This class is now an ABC
// wxEvent(int winid = 0, wxEventType commandType = wxEVT_NULL); // *** This class is now an ABC
~wxEvent();
wxObject* GetEventObject();
wxEventType GetEventType();
int GetId();
long GetTimestamp();
void SetEventObject(wxObject* object);
void SetEventType(wxEventType typ);
void SetId(int id);
void SetTimestamp(long timeStamp);
wxEventType GetEventType() const;
wxObject *GetEventObject() const;
void SetEventObject(wxObject *obj);
long GetTimestamp() const;
void SetTimestamp(long ts = 0);
int GetId() const;
void SetId(int Id);
bool IsCommandEvent() const;
@@ -78,7 +79,10 @@ public:
// (returned by StopPropagation())
void ResumePropagation(int propagationLevel);
wxEvent *Clone();
// this function is used to create a copy of the event polymorphically and
// all derived classes must implement it because otherwise wxPostEvent()
// for them wouldn't work (it needs to do a copy of the event)
virtual wxEvent *Clone() /* =0*/;
};
//---------------------------------------------------------------------------