Use wxDefaultCoord instead of explicit -1 value while initializing wxSize and wxPoint variables.

This commit is contained in:
Artur Wieczorek
2015-07-15 21:24:02 +02:00
parent a8bf2abcd0
commit 4398e20655
4 changed files with 7 additions and 7 deletions

View File

@@ -1707,7 +1707,7 @@ wxPoint wxPropertyGrid::GetGoodEditorDialogPosition( wxPGProperty* p,
int x = splitterX;
int y = p->GetY();
wxCHECK_MSG( y >= 0, wxPoint(-1,-1), wxS("invalid y?") );
wxCHECK_MSG( y >= 0, wxDefaultPosition, wxS("invalid y?") );
ImprovedClientToScreen( &x, &y );