Apply suggestions from code review
Co-Authored-By: NewPagodi <NewPagodi@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
wxWindow* m_wxWin;
|
wxWindow* m_wxWin;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id)initWithwxWin:(wxWindow*) wxwin;
|
- (id)initWithwxWin:(wxWindow*) wxWin;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user