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:
Vadim Zeitlin
2000-06-18 21:31:32 +00:00
parent 0cf4561f43
commit f35ae7efb5
4 changed files with 170 additions and 250 deletions

View File

@@ -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;