Search found 28 matches

by soundhound
Wed Mar 13, 2024 9:25 pm
Forum: C++ Development
Topic: XRCCTRL anomaly?
Replies: 10
Views: 4366

Re: XRCCTRL anomaly?

GetMenuBar it is then. Thanks.
And thanks too for the detail on this 'oddity', mystery dispelled.
by soundhound
Wed Mar 13, 2024 3:43 pm
Forum: C++ Development
Topic: XRCCTRL anomaly?
Replies: 10
Views: 4366

Re: XRCCTRL anomaly?

as stated in the OP, XRCCTRL for a toolbar works, while for a menubar it does not.
the sample is irrelevant - it doesn't contain XRCCTRL for a menubar, nor indeed for a toolbar.
by soundhound
Wed Mar 13, 2024 1:47 pm
Forum: C++ Development
Topic: XRCCTRL anomaly?
Replies: 10
Views: 4366

Re: XRCCTRL anomaly?

I typed it out rather than cut/pasted, and erred.

the sample is of course doing what it does correctly.
but it is not an example of using XRCCTRL to get a menubar nor a toolbar.
by soundhound
Wed Mar 13, 2024 12:15 pm
Forum: C++ Development
Topic: XRCCTRL anomaly?
Replies: 10
Views: 4366

Re: XRCCTRL anomaly?

there's nothing xrc specific between the docs for menubar and toolbar, nor XRCCTRL usage of menubar in samples/xrc,
but there are distinct handlers for each in xrc/xh_menu.h/xh_toolb.h
by soundhound
Wed Mar 13, 2024 9:48 am
Forum: General Development
Topic: wither wxCode?
Replies: 2
Views: 3771

wither wxCode?

the wxCode page has a component list page that is empty and a search page which never returns
any results, yet there is a forum here on it with recent postings.
I'm using an up-to-date firefox browser.
is it dead?
by soundhound
Wed Mar 13, 2024 9:35 am
Forum: C++ Development
Topic: XRCCTRL anomaly?
Replies: 10
Views: 4366

XRCCTRL anomaly?

I have a wxUIEditor generated xrc file with: <object class="wxToolBar" name="m_toolBar"> ... <object class="wxMenuBar" name="m_menubar"> while XRCCTRL(wxToolBar,"m_toolBar") returns a class pointer, XRCCTRL(wxMenuBar,"m_menubar") returns nu...
by soundhound
Thu Feb 29, 2024 7:49 pm
Forum: Compiler / Linking / IDE Related
Topic: codeblocks/wxsmith setup difficulties...
Replies: 17
Views: 6360

Re: codeblocks/wxsmith setup difficulties...

the stock wxwidgets with cb 20.03 has no dialog for wxwidgets path, whereas your guide shows such a dialog.
so presumably it appears when using your revised wizard under MSW?
and if that is so, is there any reason you know of for it not to appear under any other platform?
by soundhound
Wed Feb 28, 2024 8:49 pm
Forum: Compiler / Linking / IDE Related
Topic: codeblocks/wxsmith setup difficulties...
Replies: 17
Views: 6360

Re: codeblocks/wxsmith setup difficulties under linux...

1. if the directory box is left blank, which intuitively is "put it into the current directory", the project is 'apparently' created but an immediate build/run yields "Can't create output directory bin/Release/". looking for the project file revealed no project files were created...
by soundhound
Wed Feb 28, 2024 1:08 pm
Forum: Compiler / Linking / IDE Related
Topic: codeblocks/wxsmith setup difficulties...
Replies: 17
Views: 6360

Re: codeblocks/wxsmith setup difficulties...

I shall report the first issue if I ever get an activation email from the codeblocks forum, as directory creation is something it seemingly tries to do and fails at. not putting a directory also leads to error. clearly a bug. the second issue arises from PB's guide displaying a wxwidgets location di...
by soundhound
Tue Feb 27, 2024 8:18 pm
Forum: Compiler / Linking / IDE Related
Topic: codeblocks/wxsmith setup difficulties...
Replies: 17
Views: 6360

Re: codeblocks/wxsmith setup difficulties...

from the ashes of disaster grow the roses of success! so with the following I get a succesful build/run: 1. use directory chooser after manually creating the desired directory under which projects will live 2. run codeblocks with <WXDIR>/<build dir> in the path (to pickup wx-config which is run at p...
by soundhound
Tue Feb 27, 2024 7:39 pm
Forum: Compiler / Linking / IDE Related
Topic: codeblocks/wxsmith setup difficulties...
Replies: 17
Views: 6360

Re: codeblocks/wxsmith setup difficulties...

the samples run and there are no permissions problems. I decided to clean house and rm -r ~/.config/codeblocks, the equiv of %appdata% on windows I think. on restarting cb no compiler was detected which is odd since gcc is system installed and in the path. I went on and the start cb layout included ...
by soundhound
Tue Feb 27, 2024 5:25 pm
Forum: Compiler / Linking / IDE Related
Topic: codeblocks/wxsmith setup difficulties...
Replies: 17
Views: 6360

Re: codeblocks/wxsmith setup difficulties under linux...

codeblocks 20.03, wxwidgets repo 3.2.4 sadly I went straight for a forum search and didn't see the pinned thread (and it didn't show up in the search results). I've been through the PB guide now. the downloadable binary distro from codeblocks.org is at same version as debian package - 20.03, so I we...
by soundhound
Tue Feb 27, 2024 11:55 am
Forum: Compiler / Linking / IDE Related
Topic: codeblocks/wxsmith setup difficulties...
Replies: 17
Views: 6360

codeblocks/wxsmith setup difficulties...

hello in trying to get wxsmith functioning I am failing to: 1. get it to look at the output of wx-config (which is in a locally compiled wxwidgets, uninstalled) which is in the PATH 2. understand which/what global variable and fields thereof (base? include? ) to configure 3. understand why the 'incl...
by soundhound
Sun Nov 18, 2018 5:54 pm
Forum: C++ Development
Topic: language binding issue - fundamental flaw?
Replies: 7
Views: 1416

Re: language binding issue - fundamental flaw?

I would delete this thread if I could as it probably helps no one but myself. but since that doesn't appear possible I will close it : the issue turned out to be the language bindings provision of a generic event handler which cast all events to wxEVent. this was not correct, a flaw!, as, for instan...