Search found 12877 matches

by doublemax
Tue Jan 22, 2019 4:42 pm
Forum: Platform Related Issues
Topic: How to detect the Mojave Dark Theme?
Replies: 4
Views: 55

Re: How to detect the Mojave Dark Theme?

You could try and check some system colors with wxSystemSettings::GetColour(...)
Maybe they return a unique color or color combination in that case.

But even if it works, it won't be as reliable as the native call.
by doublemax
Sat Jan 19, 2019 8:59 am
Forum: Platform Related Issues
Topic: sound sample doesn't work right, osx mojave
Replies: 7
Views: 111

Re: sound sample doesn't work right, osx mojave

Thanks for your research, but this a user forum, so your patch won't reach the right people. If you can't make a pull request, please open a ticket at http://trac.wxwidgets.org anyway or post this to the wx-users mailing list / Google group:
https://groups.google.com/forum/#!forum/wx-users
by doublemax
Fri Jan 18, 2019 8:26 am
Forum: Platform Related Issues
Topic: sound sample doesn't work right, osx mojave
Replies: 7
Views: 111

Re: sound sample doesn't work right, osx mojave

I don't know about OSX, but what you're saying sounds reasonable. Please open a bug report at http://trac.wxwidgets.org
by doublemax
Thu Jan 17, 2019 2:11 am
Forum: C++ Development
Topic: wxTextFile Confusion [SOLVED]
Replies: 4
Views: 100

Re: wxTextFile Confusion [SOLVED]

using basic C++ File save via fstream/ofstream but after that backfired What exactly was wrong with that? I sought to use the famous wxtextfile, but every tutorial I find never seems to hit the point of a simple save example wxTextFile is good for accessing a textfile on a line-by-line basis, from ...
by doublemax
Wed Jan 16, 2019 6:45 pm
Forum: C++ Development
Topic: Sharing objects between notebook tabs. [SOLVED]
Replies: 15
Views: 268

Re: Sharing objects between notebook tabs. [SOLVED]

Can two different sizers contain the same window? No. While the approach to reparent controls and detach them from one sizer and insert into another may sound promising, i would highly advise against it. Blood, sweat, tears and crashes will follow. If you can't or don't want to use the approach i s...
by doublemax
Wed Jan 16, 2019 8:52 am
Forum: Platform Related Issues
Topic: Help in debugging crash
Replies: 4
Views: 76

Re: Help in debugging crash

We can't help debug complex applications for you. If you think this is caused by a bug in wxWidgets, please create a small compilable sample that demonstrates the issue.
by doublemax
Wed Jan 16, 2019 6:16 am
Forum: C++ Development
Topic: Export wxListCtrl Data to Excel
Replies: 3
Views: 114

Re: Export wxListCtrl Data to Excel

There are a couple of C and C++ libraries that support writing to xls or at least xlsx files, free and commercial.

E.g. https://sourceforge.net/projects/xlsxio/

But i've never used one, so i can't recommend one.
by doublemax
Mon Jan 14, 2019 8:43 pm
Forum: C++ Development
Topic: Sharing objects between notebook tabs. [SOLVED]
Replies: 15
Views: 268

Re: Sharing objects between notebook tabs. [SOLVED]

The classes are still there, defined in /include/generic/tabg.h

I haven't tested them though.
by doublemax
Mon Jan 14, 2019 6:02 pm
Forum: C++ Development
Topic: Sharing objects between notebook tabs. [SOLVED]
Replies: 15
Views: 268

Re: Sharing objects between notebook tabs. [SOLVED]

wxTabbedPanel , wxPanelTabView , wxTabControl
Nice I had no idea they were still in wx3.x.

But i have a bad feeling they might look ugly :)
by doublemax
Mon Jan 14, 2019 2:39 pm
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 8
Views: 172

Re: GTK: wxButton appearance in wxScrolled

Well, it's not only the white border, also the background gradient and rounded corners are gone. This looks like a theme-problem to me, but i have no idea what to do about it. Can you try to use wxScrolledCanvas instead of wxScrolledWindow? It's a very wild guess, it really shouldn't make any differ...
by doublemax
Mon Jan 14, 2019 1:50 pm
Forum: C++ Development
Topic: Sharing objects between notebook tabs. [SOLVED]
Replies: 15
Views: 268

Re: Sharing objects between notebook tabs. [SOLVED]

You can't add the same page multiple times as a notebook page. With the show/hide approach, you wouldn't be able to use a wxNoteBook. You'd need another way of switching between the modes.
by doublemax
Mon Jan 14, 2019 7:41 am
Forum: Platform Related Issues
Topic: GTK: wxButton appearance in wxScrolled
Replies: 8
Views: 172

Re: GTK: wxButton appearance in wxScrolled

Can you show screenshots of the "good" and "bad" buttons?
by doublemax
Mon Jan 14, 2019 6:13 am
Forum: C++ Development
Topic: Sharing objects between notebook tabs. [SOLVED]
Replies: 15
Views: 268

Re: Sharing objects between notebook tabs. [SOLVED]

You can detach controls from sizers and insert it into another one, but usually that gets messy in the end. If you keep using a notebook, you could try to keep the shared controls outside the notebook, on a different level of the GUI. Or, instead of using different notebook pages, keep everything in...
by doublemax
Sun Jan 13, 2019 7:13 pm
Forum: Compiler / Linking / IDE Related
Topic: Wrong setup.h file?
Replies: 7
Views: 147

Re: Wrong setup.h file?

Should I try building wx again with different parameters? What parameters should I use?
No. If building from the command line works fine, it's only a matter of configuring the CodeBlocks project correctly.

Unfortunately i can't help with that as i don't use CB.

Go to advanced search