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:
@@ -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(""),
|
||||
|
Reference in New Issue
Block a user