wx - New to wxwidgets -
i have following environment in windows: codeblocks wxwidgets , wxsmith gui builder
i have created sample wxwidgets project , have access gtk+ components via wxwidgets. components created via wxsmith seems point msw components. how can change configuration default , feel gtk.
i have tried replacing compiler settings: __wxmsw__
__wxgtk20__
, have encountered couple of compilation error messages:
||=== build: debug in test (compiler: gnu gcc compiler) === error: 'gtkwidget' has not been declared| error: 'gtkwidget' has not been declared| error: 'class wxwindow' has no member named 'm_scrollbar'| error: 'scrolldir_horz' not member of 'wxwindow'| error: 'class wxwindow' has no member named 'm_scrollbar'| error: 'scrolldir_vert' not member of 'wxwindow'|
i believe i'm missing out something, configuration somewhere can't figure out i'm new codeblocks , wxwidgets.
you can't replace symbols in compiler options. need rebuild library use gtk instead of native msw toolkit. can, actually, done, see https://github.com/wxwidgets/wxwidgets/blob/master/docs/msw/gtk.txt, experimental platform , don't advise use if you're new wxwidgets.
if really need gtk under windows (why?), simplest build under cygwin , use x11 backend.
Comments
Post a Comment