wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -157,7 +157,7 @@ wxTipWindow::wxTipWindow(wxWindow *parent,
|
||||
y += wxSystemSettings::GetMetric(wxSYS_CURSOR_Y) / 2;
|
||||
|
||||
#if wxUSE_POPUPWIN
|
||||
Position(wxPoint(x, y), wxSize());
|
||||
Position(wxPoint(x, y), wxSize(0,0));
|
||||
Popup(m_view);
|
||||
#ifdef __WXGTK__
|
||||
if (!GTK_WIDGET_HAS_GRAB(m_widget))
|
||||
|
Reference in New Issue
Block a user