1. fixed wxDC::DrawArc() problem with full circles
2. replaced about a dozen occurences of some wxSTIPPLE_MASK_OPAQUE related code with a helper class (talk about code bloat...) 3. wxColourDialog parent is set correctly now, other minor fixes there git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1094,7 +1094,10 @@ void wxWindow::DoGetSize(int *x, int *y) const
|
||||
{
|
||||
HWND hWnd = GetHwnd();
|
||||
RECT rect;
|
||||
GetWindowRect(hWnd, &rect);
|
||||
if ( !::GetWindowRect(hWnd, &rect) )
|
||||
{
|
||||
wxLogLastError(_T("GetWindowRect"));
|
||||
}
|
||||
|
||||
if ( x )
|
||||
*x = rect.right - rect.left;
|
||||
|
Reference in New Issue
Block a user