Search found 7449 matches

by ONEEYEMAN
Mon Mar 18, 2024 3:11 pm
Forum: C++ Development
Topic: StaticBoxSizer hidden name
Replies: 7
Views: 128

Re: StaticBoxSizer hidden name

Hi,
What platform and wx version?

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 6:29 pm
Forum: C++ Development
Topic: Passing wxString as buffer pointer
Replies: 5
Views: 358

Re: Passing wxString as buffer pointer

PB,
Yes, I do have a wxWindow/wxControl.

What code example? I don't see any code in your reply.

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 6:05 pm
Forum: Compiler / Linking / IDE Related
Topic: moving to MS Win
Replies: 24
Views: 525

Re: moving to MS Win

Hi,
Yes, sorry - the proper compiler build executable name is mingw32-make.exe.

I myself use MSVC exclusively hence the error.

Sorry.

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 6:03 pm
Forum: C++ Development
Topic: Passing wxString as buffer pointer
Replies: 5
Views: 358

Re: Passing wxString as buffer pointer

PB,
Yes, I do (at least according to MSDN).

And how do I use wxStringBuffer?

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 4:57 pm
Forum: C++ Development
Topic: Passing wxString as buffer pointer
Replies: 5
Views: 358

Passing wxString as buffer pointer

Hi,
I need to do:

Code: Select all

wxString stringBuffer;
SendMessage( WM_GETTEXT, len, &stringBuffer );
How do I make it work?

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 2:46 pm
Forum: C++ Development
Topic: Background image in wxDialog doesn't show up
Replies: 30
Views: 748

Re: Background image in wxDialog doesn't show up

Hi,
Is the code you posted the only thing you have? Nothing else?
And I presume you didn't modify wx sources in any way.

Comment out the "splash screen". Is program executes correctly and you function runs?

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 2:36 pm
Forum: C++ Development
Topic: Background image in wxDialog doesn't show up
Replies: 30
Views: 748

Re: Background image in wxDialog doesn't show up

doublemax,
But it shows how to work with it and it's good for test purposes.

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 2:34 pm
Forum: Compiler / Linking / IDE Related
Topic: moving to MS Win
Replies: 24
Views: 525

Re: moving to MS Win

Hi, I don't what errors you were getting, but: Building with MinGW 1. Open Command Prompt 2. cd wxwidgets\build\msw 3. mingw32-bin.exe -f makefile.gcc BUILD= debug Building with MSVC: 1. Open Visual Studio command prompt 2. cd wxwidgets\build\msw 3. make -f makefile.vc BUILD=debug Try those. Let us ...
by ONEEYEMAN
Sun Mar 17, 2024 2:25 pm
Forum: C++ Development
Topic: Background image in wxDialog doesn't show up
Replies: 30
Views: 748

Re: Background image in wxDialog doesn't show up

Hi,
Did you look at the splash sample?
It shows how to properly make and display the splash screen...

No need to twiddle around with dialogs/frames...

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 1:13 pm
Forum: C++ Development
Topic: Background image in wxDialog doesn't show up
Replies: 30
Views: 748

Re: Background image in wxDialog doesn't show up

Hi,
Can you add messagebox before and after the call to Refresh()?

Thank you.
by ONEEYEMAN
Sun Mar 17, 2024 2:43 am
Forum: C++ Development
Topic: Background image in wxDialog doesn't show up
Replies: 30
Views: 748

Re: Background image in wxDialog doesn't show up

Hi,
This is all very ugly.
Check the splash sample (from wxWidgets/samples/splash directory).

Thank you .
by ONEEYEMAN
Sat Mar 16, 2024 9:31 pm
Forum: Compiler / Linking / IDE Related
Topic: Build for Windows ARM
Replies: 4
Views: 96

Re: Build for Windows ARM

Hi,
What version of wxWidgets you are trying to build?

The ARM build for Windows was very recently fixed and it will be available in the next stable release and the next official release of the library.
Please grab latest sources from GitHub and try again.

Thank you.
by ONEEYEMAN
Sat Mar 16, 2024 9:27 pm
Forum: C++ Development
Topic: Background image in wxDialog doesn't show up
Replies: 30
Views: 748

Re: Background image in wxDialog doesn't show up

Hi,
What type of image you use?
Did you call wxInitAllImageHandlers()?

Thank you.
by ONEEYEMAN
Sat Mar 16, 2024 5:24 pm
Forum: Compiler / Linking / IDE Related
Topic: moving to MS Win
Replies: 24
Views: 525

Re: moving to MS Win

Hi, Please don't set the build folder to wxWidgets/build. wxWidgets already have the "build" folder that contains important files to build. You will be better off using something like "wxWidgets/buildMSW". Now I don't know anything about CMake things and how it is doing its busin...
by ONEEYEMAN
Fri Mar 15, 2024 10:15 pm
Forum: Compiler / Linking / IDE Related
Topic: moving to MS Win
Replies: 24
Views: 525

Re: moving to MS Win

Hi,
It is really hard to guess what's wrong without seeing configuration file.

Can you post that?

Thank you.