Don't call SetupColours when loading a native dialog

It makes everything grey.
This commit is contained in:
Maarten Bent
2020-10-21 00:52:20 +02:00
parent badf0eb64e
commit 1a2d81354e

View File

@@ -300,7 +300,6 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
parent->AddChild(win); parent->AddChild(win);
win->SubclassWin(hWnd); win->SubclassWin(hWnd);
win->AdoptAttributesFromHWND(); win->AdoptAttributesFromHWND();
win->SetupColours();
} }
return win; return win;