diff --git a/samples/stc/edit.cpp b/samples/stc/edit.cpp index bd2bfd6fb3..0900639684 100644 --- a/samples/stc/edit.cpp +++ b/samples/stc/edit.cpp @@ -190,7 +190,7 @@ Edit::Edit (wxWindow *parent, wxWindowID id, wxBitmap bmp(hashtag_xpm); RegisterImage(0, bmp); - //call tips + // call tips CallTipSetBackground(*wxYELLOW); m_calltipNo = 1; diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 04c6e3909c..fb77a09881 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -2147,7 +2147,7 @@ PRectangle Window::GetMonitorRect(Point pt) { #ifdef __WXMSW__ // Use ShowWithoutActivating instead of show. - bool wxSTCPopupBase::Show(bool show) + bool wxSTCPopupBase::Show(bool show) wxOVERRIDE { if ( show ) { @@ -2165,7 +2165,7 @@ PRectangle Window::GetMonitorRect(Point pt) { // Do not activate in response to mouse clicks on this window. bool wxSTCPopupBase::MSWHandleMessage(WXLRESULT *res, WXUINT msg, - WXWPARAM wParam, WXLPARAM lParam) + WXWPARAM wParam, WXLPARAM lParam) wxOVERRIDE { if ( msg == WM_MOUSEACTIVATE ) { @@ -2492,7 +2492,7 @@ void wxSTCListBoxVisualData::ComputeColours() } } -void SetColourHelper(bool& isSet, wxColour& itemCol, const wxColour& newColour) +static void SetColourHelper(bool& isSet, wxColour& itemCol, const wxColour& newColour) { isSet = newColour.IsOk(); itemCol = newColour; diff --git a/src/stc/PlatWXcocoa.mm b/src/stc/PlatWXcocoa.mm index 0c8ce5ccd3..7b798f954e 100644 --- a/src/stc/PlatWXcocoa.mm +++ b/src/stc/PlatWXcocoa.mm @@ -23,7 +23,7 @@ wxWindow* m_wxWin; } -- (id)initWithwxWin:(wxWindow*) wxwin; +- (id)initWithwxWin:(wxWindow*) wxWin; @end