wxNO_FULL_REPAINT_ON_RESIZE logic for wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-07-27 15:15:36 +00:00
parent 106e25cccf
commit 193fe98904
5 changed files with 56 additions and 10 deletions

View File

@@ -2254,6 +2254,12 @@ bool wxWindow::MSWCreate(int id,
if ( style & WS_CHILD )
controlId = id;
wxString className(wclass);
if ( GetWindowStyleFlag() & wxNO_FULL_REPAINT_ON_RESIZE )
{
className += _T("NR");
}
m_hWnd = (WXHWND)CreateWindowEx(extendedStyle,
wclass,
title ? title : _T(""),