[Commits] (davids) minical - fixed double-click event macro

commits at osafoundation.org commits at osafoundation.org
Wed Mar 9 12:49:34 PST 2005


Commit by: davids
Modified files:
internal/wxPython-2.5/include/wx/minical.h 1.1 1.2
internal/wxPython-2.5/include/wx/generic/colheader.h 1.7 1.8

Log message:

minical - fixed double-click event macro
r=jed



ViewCVS links:
http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/include/wx/minical.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/include/wx/generic/colheader.h.diff?r1=text&tr1=1.7&r2=text&tr2=1.8

Index: internal/wxPython-2.5/include/wx/minical.h
diff -u internal/wxPython-2.5/include/wx/minical.h:1.1 internal/wxPython-2.5/include/wx/minical.h:1.2
--- internal/wxPython-2.5/include/wx/minical.h:1.1	Tue Jan 25 16:08:52 2005
+++ internal/wxPython-2.5/include/wx/minical.h	Wed Mar  9 12:49:32 2005
@@ -142,7 +142,7 @@
 
 typedef void (wxEvtHandler::*wxMiniCalendarEventFunction)(wxMiniCalendarEvent&);
 
-#define EVT_MINI_CALENDAR(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_MINI_CALENDAR_DOUBLECLICKED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)  wxStaticCastEvent( wxMiniCalendarEventFunction, & fn ), (wxObject *) NULL),
+#define EVT_MINI_CALENDAR_DOUBLECLICKED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_MINI_CALENDAR_DOUBLECLICKED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)  wxStaticCastEvent( wxMiniCalendarEventFunction, & fn ), (wxObject *) NULL),
 #define EVT_MINI_CALENDAR_SEL_CHANGED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_MINI_CALENDAR_SEL_CHANGED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)  wxStaticCastEvent( wxMiniCalendarEventFunction, & fn ), (wxObject *) NULL),
 #define EVT_MINI_CALENDAR_DAY(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_MINI_CALENDAR_DAY_CHANGED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)  wxStaticCastEvent( wxMiniCalendarEventFunction, & fn ), (wxObject *) NULL),
 #define EVT_MINI_CALENDAR_MONTH(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_MINI_CALENDAR_MONTH_CHANGED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)  wxStaticCastEvent( wxMiniCalendarEventFunction, & fn ), (wxObject *) NULL),

Index: internal/wxPython-2.5/include/wx/generic/colheader.h
diff -u internal/wxPython-2.5/include/wx/generic/colheader.h:1.7 internal/wxPython-2.5/include/wx/generic/colheader.h:1.8
--- internal/wxPython-2.5/include/wx/generic/colheader.h:1.7	Tue Mar  8 16:04:52 2005
+++ internal/wxPython-2.5/include/wx/generic/colheader.h	Wed Mar  9 12:49:33 2005
@@ -36,7 +36,8 @@
 	wxColumnHeaderItem();
 	virtual ~wxColumnHeaderItem();
 
-	long DrawSelf(
+	long DrawItem(
+		wxWindow		*parentW,
 		wxClientDC		*dc,
 		const wxRect		*boundsR );
 



More information about the Commits mailing list