From dc735b4085a71ba204bca6a61bd35e99d1e13ea6 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Tue, 11 May 2010 21:12:10 +0000 Subject: [PATCH] fix errors/inconsistencies pointed out by ifacecheck git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/datetime.h | 6 +++--- interface/wx/ribbon/bar.h | 6 +++--- interface/wx/ribbon/gallery.h | 10 +++++----- interface/wx/stc/stc.h | 12 ------------ 4 files changed, 11 insertions(+), 23 deletions(-) diff --git a/interface/wx/datetime.h b/interface/wx/datetime.h index 9e11fed428..7f01b64835 100644 --- a/interface/wx/datetime.h +++ b/interface/wx/datetime.h @@ -881,15 +881,15 @@ public: @see Format() */ bool ParseFormat(const wxString& date, - const wxString& format = wxDefaultDateTimeFormat, - const wxDateTime& dateDef = wxDefaultDateTime, + const wxString& format, + const wxDateTime& dateDef, wxString::const_iterator *end); /** @overload */ bool ParseFormat(const wxString& date, - const wxString& format = wxDefaultDateTimeFormat, + const wxString& format, wxString::const_iterator *end); /** diff --git a/interface/wx/ribbon/bar.h b/interface/wx/ribbon/bar.h index ff039a62ec..34d3a258be 100644 --- a/interface/wx/ribbon/bar.h +++ b/interface/wx/ribbon/bar.h @@ -24,9 +24,9 @@ public: /** Constructor. */ - wxRibbonBarEvent(wxEventType command_type = wxEVT_NULL, - int win_id = 0, - wxRibbonPage* page = NULL); + wxRibbonBarEvent(wxEventType command_type = wxEVT_NULL, + int win_id = 0, + wxRibbonPage* page = NULL); /** Returns the page being changed to, or being clicked on. diff --git a/interface/wx/ribbon/gallery.h b/interface/wx/ribbon/gallery.h index 27d2fe349e..d87f4f24bc 100644 --- a/interface/wx/ribbon/gallery.h +++ b/interface/wx/ribbon/gallery.h @@ -249,16 +249,16 @@ public: @see wxRibbonBar */ -class wxRibbonButtonBarEvent : public wxCommandEvent +class wxRibbonGalleryEvent : public wxCommandEvent { public: /** Constructor. */ - wxRibbonButtonBarEvent(wxEventType command_type = wxEVT_NULL, - int win_id = 0, - wxRibbonGallery* gallery = NULL, - wxRibbonGalleryItem* item = NULL); + wxRibbonGalleryEvent(wxEventType command_type = wxEVT_NULL, + int win_id = 0, + wxRibbonGallery* gallery = NULL, + wxRibbonGalleryItem* item = NULL); /** Returns the gallery which the event relates to. diff --git a/interface/wx/stc/stc.h b/interface/wx/stc/stc.h index e1b0d08617..595e3d9be4 100644 --- a/interface/wx/stc/stc.h +++ b/interface/wx/stc/stc.h @@ -2800,18 +2800,6 @@ public: void ZoomOut(); - - - /** - Set the size of the dots used to mark space characters. - */ - void SetWhitespaceSize(int size); - - /** - Get the size of the dots used to mark space characters. - */ - int GetWhitespaceSize() const; - /** Sets how wrapped sublines are placed. Default is fixed. */ -- 2.45.2