Resource sample works now, apart from
wxRadioBox, which is #ifdef 0 in resource.cpp Fixed tiny thing in resource.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "wx/memory.h"
|
||||
#include "wx/font.h"
|
||||
#include "wx/settings.h"
|
||||
#include "wx/resource.h"
|
||||
|
||||
#include "unistd.h"
|
||||
|
||||
@@ -257,6 +258,8 @@ void wxApp::CommonInit(void)
|
||||
wxInitializeStockLists();
|
||||
wxInitializeStockObjects();
|
||||
|
||||
wxInitializeResourceSystem();
|
||||
|
||||
// For PostScript printing
|
||||
#if USE_POSTSCRIPT
|
||||
wxInitializePrintSetupData();
|
||||
@@ -270,8 +273,6 @@ void wxApp::CommonInit(void)
|
||||
|
||||
g_globalCursor = new wxCursor;
|
||||
*/
|
||||
|
||||
// wxInitializeStockObjects();
|
||||
};
|
||||
|
||||
void wxApp::CommonCleanUp(void)
|
||||
@@ -288,6 +289,8 @@ void wxApp::CommonCleanUp(void)
|
||||
|
||||
wxDeleteStockLists();
|
||||
|
||||
wxCleanUpResourceSystem();
|
||||
|
||||
wxSystemSettings::Done();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user