Search found 53 matches

by DaveNadler
Fri Jun 17, 2022 12:49 am
Forum: Compiler / Linking / IDE Related
Topic: New 3.1.7 install build, sample 'secretstore' fails
Replies: 3
Views: 626

Re: New 3.1.7 install build, sample 'secretstore' fails

Thanks as always doublemax. secretstore removed from target list in samples\makefile.gcc and remaining samples all build fine, Best Regards, Dave PS: This seemed to work OK with Mingw32 in wxWidgets 3.1.4?? mingw32-make[1]: Entering directory 'C:/wxWidgets-3_1_4/samples/secretstore' g++ -c -o gcc_ms...
by DaveNadler
Thu Jun 16, 2022 7:42 pm
Forum: Compiler / Linking / IDE Related
Topic: New 3.1.7 install build, sample 'secretstore' fails
Replies: 3
Views: 626

New 3.1.7 install build, sample 'secretstore' fails

Hi All - Wondering if I've done something wrong or this is a known problem. Windows 10, TDM-GCC-32bit-10-3. Starting with a fresh download of 3.1.7 ZIP... I modified "C:\wxWidgets-3_1_7\build\msw\config.gcc" as follows: # DRN - was: MONOLITHIC ?= 0 MONOLITHIC ?= 1 # DRN - was: RUNTIME_LIBS...
by DaveNadler
Sat Jun 13, 2020 6:04 pm
Forum: Compiler / Linking / IDE Related
Topic: \wxWidgets-3.1.3\src\xrc\xmlres.cpp(2844,5): error C2065: 'wxID_RESET': undeclared identifier
Replies: 14
Views: 2971

Re: \wxWidgets-3.1.3\src\xrc\xmlres.cpp(2844,5): error C2065: 'wxID_RESET': undeclared identifier

I've somehow fat-fingered somehow and changed that one line.
Absolutely no idea how I managed to do that.
Replaced with the version from the repository and all builds OK.
Sorry about that, Thanks all for the help,
Best Regards, Dave
by DaveNadler
Sat Jun 13, 2020 3:59 pm
Forum: Compiler / Linking / IDE Related
Topic: \wxWidgets-3.1.3\src\xrc\xmlres.cpp(2844,5): error C2065: 'wxID_RESET': undeclared identifier
Replies: 14
Views: 2971

Re: \wxWidgets-3.1.3\src\xrc\xmlres.cpp(2844,5): error C2065: 'wxID_RESET': undeclared identifier

Everything in the solution except xrc builds just fine. I cleaned, deleted output libs .vs etc. and rebuilt - same result. In xmlres.cpp: - the offending line is 2844 stdID(wxID_RESET); - symbol in previous line stdID(wxID_SETUP); is defined in include\wx\defs.h, which does not define wxID_RESET The...
by DaveNadler
Sat Jun 13, 2020 12:57 am
Forum: Compiler / Linking / IDE Related
Topic: \wxWidgets-3.1.3\src\xrc\xmlres.cpp(2844,5): error C2065: 'wxID_RESET': undeclared identifier
Replies: 14
Views: 2971

Re: \wxWidgets-3.1.3\src\xrc\xmlres.cpp(2844,5): error C2065: 'wxID_RESET': undeclared identifier

Hi Doublemax - I built wx_vc16.sln, configuration Debug, also VS2019 community. No changes to setup.h or project. Thanks as always for your great support, Best Regards, Dave 1>------ Build started: Project: xrc, Configuration: Debug Win32 ------ 1>xmlres.cpp 1>E:\wxWidgets-3.1.3\src\xrc\xmlres.cpp(2...
by DaveNadler
Thu Jun 11, 2020 3:02 pm
Forum: Compiler / Linking / IDE Related
Topic: \wxWidgets-3.1.3\src\xrc\xmlres.cpp(2844,5): error C2065: 'wxID_RESET': undeclared identifier
Replies: 14
Views: 2971

\wxWidgets-3.1.3\src\xrc\xmlres.cpp(2844,5): error C2065: 'wxID_RESET': undeclared identifier

Done building project "wx_xrc.vcxproj" -- FAILED.
I just tried to rebuild wxWidgets solution under latest update of Microsoft Visual C++ 2019 using C++ 17 and got this error.
Any ideas?
Thanks!
Best Regards, Dave
by DaveNadler
Tue May 19, 2020 2:02 pm
Forum: C++ Development
Topic: wxGridBagSizer bug with MaxSize? or I'm confused??
Replies: 3
Views: 797

Re: wxGridBagSizer bug with MaxSize? or I'm confused??

Thanks as always Doublemax. Got it on the status bar.

However, I still don't get it on SetMaxSize.
If I change the code to use SetMaxSize (change first #if 0 to #if 1),
the code does not work as I expect...

Thanks!
Best Regards, Dave
by DaveNadler
Mon May 18, 2020 9:55 pm
Forum: C++ Development
Topic: wxGridBagSizer bug with MaxSize? or I'm confused??
Replies: 3
Views: 797

wxGridBagSizer bug with MaxSize? or I'm confused??

Hi - I'm trying to limit the MAXIMUM vertical size of a cell in a wxGridBagSizer. At doublemax's suggestion, I wrote a minimal app to debug, and I think something's wrong with the sizer. First: This shows the desired behavior: http://www.nadler.com/backups/wxGridBagSizer_Bug_Demo.mp4 The code unfort...
by DaveNadler
Sat May 16, 2020 5:55 pm
Forum: C++ Development
Topic: Can't get gridbag sizer cell to expand
Replies: 4
Views: 867

Re: Can't get gridbag sizer cell to expand

I commented out the code you suggested and got same behavior.
I'll go check now on the status-bar-clobbering...
Thanks for the help!
by DaveNadler
Sat May 16, 2020 4:36 pm
Forum: C++ Development
Topic: Can't get gridbag sizer cell to expand
Replies: 4
Views: 867

Re: Can't get gridbag sizer cell to expand

Much better, Thanks! Two remaining problems: 1) I'm failing to limit the height of the "Simulation Control" panel 2) the caption bar is getting clobbered, sometimes... Video here: http://www.nadler.com/backups/GridBagSizer_problems2.mp4 Revised code below. Thanks Again!! Best Regards, Dave...
by DaveNadler
Sat May 16, 2020 3:17 pm
Forum: C++ Development
Topic: Can't get gridbag sizer cell to expand
Replies: 4
Views: 867

Can't get gridbag sizer cell to expand

OK, I've done something silly, but what? I'm using a gridbag sizer, right column is supposed to be entirely filled with a list. But the window does not grow. What have I done wrong? Video here: http://www.nadler.com/backups/GridBagSizer_problems1.mp4 Code below. Thanks in advance for any pointers! B...