Search found 7459 matches

by ONEEYEMAN
Thu Mar 28, 2024 3:38 pm
Forum: General Development
Topic: Porting wxWidgets to Rust?
Replies: 5
Views: 12636

Re: Porting wxWidgets to Rust?

Hi,
Follow evstevemd suggestion.

This is user forum made by users for users of the library and no core wx-devs are coming here.

Thank you.
by ONEEYEMAN
Thu Mar 28, 2024 3:36 am
Forum: C++ Development
Topic: Easiest method to bind ENTER key to the action method/func for a button
Replies: 2
Views: 38

Re: Easiest method to bind ENTER key to the action method/func for a button

Hi
How do you create the button? I presume it is an object of wxButton class, right?

Is the window you place all this wxDialog or wxFrame?

Thank you.
by ONEEYEMAN
Wed Mar 27, 2024 7:36 pm
Forum: C++ Development
Topic: Main window shuts down on parent refresh
Replies: 2
Views: 46

Re: Main window shuts down on parent refresh

Hi,
Yes, do Debug build and inspect a stack trace/backtrace.

More than likely you have a nullptr somewhere in your code. Or a variable shadowing (which is also essentially nullptr).

Thank you.
by ONEEYEMAN
Tue Mar 26, 2024 3:32 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
Replies: 7
Views: 316

Re: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.

Hi,
Exactly like this:

Code: Select all

mingw32-make -j8 -f makefile.gcc CXXFLAGS="-std=gnu++17" USE_XRC=1 SHARED=0 UNICODE=1 MONOLITHIC=0 BUILD=debug CFG=_MinGW1320x64_d
Thank you.
by ONEEYEMAN
Tue Mar 26, 2024 3:28 pm
Forum: C++ Development
Topic: Embed a frame within a wxPanel of a wxAuiNotebook
Replies: 4
Views: 327

Re: Embed a frame within a wxPanel of a wxAuiNotebook

Hi,
Because from the compiler point of view everything is correct.

Its probably possible to have an ASSERT() sying such a thing and I think it was there at one point of time...

Thank you.
by ONEEYEMAN
Mon Mar 25, 2024 9:14 pm
Forum: Platform Related Issues
Topic: wxFileSelectorCombo not displaying File name
Replies: 2
Views: 88

Re: wxFileSelectorCombo not displaying File name

Hi,
Is the sample works?

Thank you.
by ONEEYEMAN
Sun Mar 24, 2024 12:24 pm
Forum: Platform Related Issues
Topic: Display emojis with color in Windows
Replies: 2
Views: 130

Re: Display emojis with color in Windows

Hi,
Not all fonts contains them.
See if you can find an appropriate font...

Thank you.
by ONEEYEMAN
Sat Mar 23, 2024 8:47 pm
Forum: C++ Development
Topic: How to change notebook border color from white to gray?
Replies: 3
Views: 146

Re: How to change notebook border color from white to gray?

Hi,
This is how the native control look like. It is not possible to change it.

Thank you.
by ONEEYEMAN
Thu Mar 21, 2024 4:42 pm
Forum: C++ Development
Topic: wxDataViewListCtrl getting column of selected row
Replies: 14
Views: 3270

Re: wxDataViewListCtrl getting column of selected row

Hi,
What OS?

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

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: 1825

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: 686

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: 1825

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: 1825

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.