#endif
#if !wxUSE_DOC_VIEW_ARCHITECTURE
-#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
+#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h!
#endif
#include "docview.h"
frame->SetSize(-1, -1, x, y);
#endif
frame->Show(TRUE);
+ Activate(TRUE);
return TRUE;
}