Code: Select all
void DLLFunction(HWND handle)
{
wxWindow* win = new wxWindow;
win->SetHWND((WXHWND)handle);
win->Enable(false);
MyFrame *simple = new MyFrame(win,wxT("Simple"));
simple->Show(true);
win->Enable(true);
win->SetHWND(0);
}
非常感谢。