New wxEventType for event type enum, and corresponding alterations.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-06-26 20:18:30 +00:00
parent 68919656bb
commit 7798a18ec8
21 changed files with 92 additions and 89 deletions

View File

@@ -152,8 +152,8 @@ bool wxTabCtrl::MSWCommand(const WXUINT cmd, const WXWORD id)
bool wxTabCtrl::MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam)
{
wxTabEvent event(0, m_windowId);
int eventType = 0;
wxTabEvent event(wxEVT_NULL, m_windowId);
wxEventType eventType = wxEVT_NULL;
NMHDR* hdr1 = (NMHDR*) lParam;
switch ( hdr1->code )
{
@@ -471,7 +471,7 @@ void wxMapBitmap(HBITMAP hBitmap, int width, int height)
// Tab event
IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxCommandEvent)
wxTabEvent::wxTabEvent(WXTYPE commandType, int id):
wxTabEvent::wxTabEvent(wxEventType commandType, int id):
wxCommandEvent(commandType, id)
{
}