wxFlatMenu & wxFlatMenuBar
The sources can be found here:
http://codelite.org/downloads/wxflatmenu-src.zip
Currently, the only way to compile it is by using codelite IDE (there are also vcproj files for MSVS, but they are outdated)
To compile it (Linux / Windows):
- Download codelite (for Windows, it is recommended to download the version that bundles MinGW as well)
Win:
http://sourceforge.net/projects/codelit ... e/download
For non Windows, browse this link and pick the one that you need:
http://sourceforge.net/projects/codelite/files/
- Open the workspace: 'wxFlatMenu.workspace' - Select the configuration you want to build hit F7 and you are done
Eran
http://codelite.org/downloads/wxflatmenu-src.zip
Currently, the only way to compile it is by using codelite IDE (there are also vcproj files for MSVS, but they are outdated)
To compile it (Linux / Windows):
- Download codelite (for Windows, it is recommended to download the version that bundles MinGW as well)
Win:
http://sourceforge.net/projects/codelit ... e/download
For non Windows, browse this link and pick the one that you need:
http://sourceforge.net/projects/codelite/files/
- Open the workspace: 'wxFlatMenu.workspace' - Select the configuration you want to build hit F7 and you are done
Eran
-
- Experienced Solver
- Posts: 61
- Joined: Wed Aug 19, 2020 12:04 am
Re: wxFlatMenu & wxFlatMenuBar
Hey all! I see that none of the links work anymore, which is a shame, since I'm really interested in this. Is there a chance that you have uploaded the source code somewhere else, eranif? I understand that it's already been so long, so if you haven't thats ok.
Thank you
Thank you
-
- Experienced Solver
- Posts: 61
- Joined: Wed Aug 19, 2020 12:04 am
Re: wxFlatMenu & wxFlatMenuBar
Thank you so much, doublemax! You're a life saver
-
- Experienced Solver
- Posts: 61
- Joined: Wed Aug 19, 2020 12:04 am
Re: wxFlatMenu & wxFlatMenuBar
Okay, the compiler is complaining about the code trying to directly access a protected protected member function, ProcessEvent(). Was this function protected after he wrote the original code or is there something wrong? The code is m_menuStyle->ProcessEvent(event), m_menuStyle being a wxRadioBox*. What should I do here?
Re: wxFlatMenu & wxFlatMenuBar
Code: Select all
m_menuStyle->GetEventHandler()->ProcessEvent(event)
Use the source, Luke!
-
- Experienced Solver
- Posts: 61
- Joined: Wed Aug 19, 2020 12:04 am
Re: wxFlatMenu & wxFlatMenuBar
Thanks. I still can't get the demo to build. It's complaining about 2 things:
In resources.rc, theres this:
Both fail. With no apparent reason.
If I remove those two lines I get a LINK error to a lib that I'm not even linking. I'm linking to the following:
And this is what the linker says:
How can this even be possible?
In resources.rc, theres this:
Code: Select all
mainicon ICON "wx/msw/std.ico"
#include <wx/msw/rcdefs.h>
Code: Select all
fatal error RC1015: cannot open include file 'wx/msw/rcdefs.h'.
error RC2135: file not found: wx/msw/std.ico
Code: Select all
wxmsw31ud_core.lib
wxbase31ud.lib
wxmsw31ud_aui.lib
wxtiffd.lib
wxjpegd.lib
wxpngd.lib
wxzlibd.lib
wxregexud.lib
wxexpatd.lib
winmm.lib
comctl32.lib
rpcrt4.lib
wsock32.lib
oleacc.lib
odbc32.lib
Code: Select all
fatal error LNK1104: cannot open file 'wxbase31d.lib'
Re: wxFlatMenu & wxFlatMenuBar
Code: Select all
fatal error RC1015: cannot open include file 'wx/msw/rcdefs.h'.
error RC2135: file not found: wx/msw/std.ico
Code: Select all
fatal error LNK1104: cannot open file 'wxbase31d.lib'
Use the source, Luke!