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:
@@ -382,7 +382,7 @@ bool wxPopupComboWindow::Create(wxComboControl *parent)
|
||||
void wxPopupComboWindow::PositionNearCombo()
|
||||
{
|
||||
// the origin point must be in screen coords
|
||||
wxPoint ptOrigin = m_combo->ClientToScreen(wxPoint());
|
||||
wxPoint ptOrigin = m_combo->ClientToScreen(wxPoint(0,0));
|
||||
|
||||
#if 0 //def __WXUNIVERSAL__
|
||||
// account for the fact that (0, 0) is not the top left corner of the
|
||||
|
||||
Reference in New Issue
Block a user