Search found 1471 matches

by catalin
Fri Jan 04, 2019 3:41 pm
Forum: C++ Development
Topic: How to set the process name?
Replies: 3
Views: 90

Re: How to set the process name?

buttonsrtoys wrote:is setting the process name something I can do through wxWidgets?

There are SetAppName() and SetAppDisplayName() members of wxAppConsole that should be useful.
by catalin
Fri Dec 28, 2018 7:59 pm
Forum: Compiler / Linking / IDE Related
Topic: Looking for a current working Visual Studio C++ sample [SOLVED]
Replies: 2
Views: 417

Re: Looking for a current working Visual Studio C++ sample [SOLVED]

It should really be as easy as downloading the sources, opening the relevant .sln file and hitting "Build Solution (F7)".
by catalin
Thu Dec 27, 2018 6:52 am
Forum: C++ Development
Topic: Merging images [SOLVED]
Replies: 3
Views: 360

Re: Merging images [SOLVED]

Does this have anything to do with wxWidgets? Are you using it or want to?
by catalin
Tue Dec 18, 2018 11:13 am
Forum: Open Discussion
Topic: Basic Question about Macro usage.
Replies: 6
Views: 526

Re: Basic Question about Macro usage.

Hmm, you might be on a less-than-optimal track here.. That book has a lot of valuable information. However, it is based on a very old wxW version, and since then some things have improved or even changed. To answer your "include" question, probably the best place to go for it is the online...
by catalin
Tue Dec 18, 2018 10:12 am
Forum: Open Discussion
Topic: Basic Question about Macro usage.
Replies: 6
Views: 526

Re: Basic Question about Macro usage.

Using any wxW macros is no different than using any other C++ ones. You should probably start with understanding the use of macros in general. After you get the hang of C++ features, you can find examples of using wxWidgets API and specific symbols in "samples" folder that comes with the c...
by catalin
Tue Dec 18, 2018 8:22 am
Forum: C++ Development
Topic: Is toggling double-clicking behavior possible [SOLVED]
Replies: 9
Views: 433

Re: Is toggling double-clicking behavior possible [SOLVED]

I'm curious if wxWidgets provides a "cross-platform" way to toggle whether our programs receive double click mouse events at runtime, after window creation. Or at least when a wxWindow is created? No, it does not. Does wxWidgets even have "double clicking" in a cross-platform wa...
by catalin
Tue Dec 18, 2018 6:40 am
Forum: Open Discussion
Topic: Basic Question about Macro usage.
Replies: 6
Views: 526

Re: Basic Question about Macro usage.

This forum is mostly about wxWidgets toolkit.
This is a C++ question, and not a very elaborate one. Just try googling "using c++ macros" and start from there.
by catalin
Wed Nov 14, 2018 8:40 am
Forum: Compiler / Linking / IDE Related
Topic: App built with static lib needs dlls (windows 7)
Replies: 5
Views: 302

Re: App built with static lib needs dlls (windows 7)

IIUC wx-config is supposed to tell you what wxW builds are available on your system. Does it find both static and dynamic builds? If you don't have the dll build of wxW, you need to build it yourself or install some already built libs. Building the libs is documented. Then for choosing the build tha...
by catalin
Tue Nov 13, 2018 1:03 pm
Forum: Compiler / Linking / IDE Related
Topic: App built with static lib needs dlls (windows 7)
Replies: 5
Views: 302

Re: App built with static lib needs dlls (windows 7)

When it needs the wx dll-s, obviously the app was built using dynamic libs, even if you intended otherwise. I can't help with setting up Eclipse, but the way to select the static libraries is to include the 'static' version of the library e.g. [...] -I"/msys64/lib/wx/include/msw-unicode-static-...
by catalin
Mon Nov 12, 2018 3:15 pm
Forum: C++ Development
Topic: wxTextCtrl vertical text alignment
Replies: 5
Views: 130

Re: wxTextCtrl vertical text alignment

Well, there you have it. You set an explicit size for the text control which probably makes it look ugly. And it will probably look even uglier if different theme, DPI etc will be used, when button height will differ from whatever you're setting now for the text control. I don't know why you need th...
by catalin
Mon Nov 12, 2018 2:58 pm
Forum: C++ Development
Topic: wxTextCtrl vertical text alignment
Replies: 5
Views: 130

Re: wxTextCtrl vertical text alignment

No, there isn't. You need to show some minimal code that you actually use when getting the described result. The text control should automatically adjust its size based on the font [size] that was used, unless you explicitly set the control size, in which case there are more chances that it will loo...
by catalin
Sun Nov 11, 2018 10:01 am
Forum: C++ Development
Topic: default constructors in wxWidgets
Replies: 7
Views: 187

Re: default constructors in wxWidgets

wxWindow [derived] classes instantiated using the default constructor are just the containers without the native widget. Obviously the default constructor will not call Create() (which for non-top level windows would also be impossible because the parent is required). The default constructor + Creat...
by catalin
Tue Oct 30, 2018 3:17 pm
Forum: C++ Development
Topic: wxEVT_WINDOW_MODAL_DIALOG_CLOSED isn't fired [SOLVED]
Replies: 8
Views: 510

Re: wxEVT_WINDOW_MODAL_DIALOG_CLOSED isn't fired [SOLVED]

That is not a "crash" but an assert, and the difference between the 2 is significant.

When should the timer event occur? After the dialog was "closed" in one of the other button events?
by catalin
Tue Oct 30, 2018 2:38 pm
Forum: C++ Development
Topic: wxEVT_WINDOW_MODAL_DIALOG_CLOSED isn't fired [SOLVED]
Replies: 8
Views: 510

Re: wxEVT_WINDOW_MODAL_DIALOG_CLOSED isn't fired [SOLVED]

Does calling EndModal(wxID_OK) instead of the last 2 calls change anything?
by catalin
Tue Oct 23, 2018 12:24 pm
Forum: C++ Development
Topic: Why is my thread detached? [SOLVED]
Replies: 11
Views: 554

Re: Why is my thread detached? [SOLVED]

wxJack wrote:I verify it with IsDetached() fucntion.

How do you verify it? Maybe you're verifying a different thread.

Go to advanced search