Fix wxMSW build error with wxUSE_UXTHEME==0
Explicitly include <commctrl.h> instead of relying on it being done implicitly by wx/msw/uxtheme.h, as this doesn't happen when wxUSE_UXTHEME is 0. Closes #18702.
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#include "wx/renderer.h"
|
||||
#include "wx/msw/private.h"
|
||||
#include "wx/msw/uxtheme.h"
|
||||
#include "wx/msw/wrapcctl.h"
|
||||
#include "wx/dynlib.h"
|
||||
|
||||
// These Vista+ only types used by DrawThemeTextEx may not be available in older SDK headers
|
||||
|
Reference in New Issue
Block a user