Apply suggestions from code review

Co-Authored-By: NewPagodi <NewPagodi@users.noreply.github.com>
This commit is contained in:
VZ
2019-04-18 20:57:01 -05:00
committed by GitHub
parent 5f39bb4157
commit a5a44e8bae
3 changed files with 5 additions and 5 deletions

View File

@@ -190,7 +190,7 @@ Edit::Edit (wxWindow *parent, wxWindowID id,
wxBitmap bmp(hashtag_xpm); wxBitmap bmp(hashtag_xpm);
RegisterImage(0, bmp); RegisterImage(0, bmp);
//call tips // call tips
CallTipSetBackground(*wxYELLOW); CallTipSetBackground(*wxYELLOW);
m_calltipNo = 1; m_calltipNo = 1;

View File

@@ -2147,7 +2147,7 @@ PRectangle Window::GetMonitorRect(Point pt) {
#ifdef __WXMSW__ #ifdef __WXMSW__
// Use ShowWithoutActivating instead of show. // Use ShowWithoutActivating instead of show.
bool wxSTCPopupBase::Show(bool show) bool wxSTCPopupBase::Show(bool show) wxOVERRIDE
{ {
if ( show ) if ( show )
{ {
@@ -2165,7 +2165,7 @@ PRectangle Window::GetMonitorRect(Point pt) {
// Do not activate in response to mouse clicks on this window. // Do not activate in response to mouse clicks on this window.
bool wxSTCPopupBase::MSWHandleMessage(WXLRESULT *res, WXUINT msg, bool wxSTCPopupBase::MSWHandleMessage(WXLRESULT *res, WXUINT msg,
WXWPARAM wParam, WXLPARAM lParam) WXWPARAM wParam, WXLPARAM lParam) wxOVERRIDE
{ {
if ( msg == WM_MOUSEACTIVATE ) 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(); isSet = newColour.IsOk();
itemCol = newColour; itemCol = newColour;

View File

@@ -23,7 +23,7 @@
wxWindow* m_wxWin; wxWindow* m_wxWin;
} }
- (id)initWithwxWin:(wxWindow*) wxwin; - (id)initWithwxWin:(wxWindow*) wxWin;
@end @end