Search found 13700 matches

by doublemax
Mon Jul 15, 2019 10:30 pm
Forum: C++ Development
Topic: Basic transparent drawing
Replies: 1
Views: 13

Re: Basic transparent drawing

That won't work this way. Have one panel with a custom paint event handler. Then draw everything (like transparent overlapping graphics) there.
by doublemax
Mon Jul 15, 2019 8:50 pm
Forum: Platform Related Issues
Topic: Compiling wxWidgets 3.1.1 in Termux
Replies: 25
Views: 126

Re: Compiling wxWidgets 3.1.1 in Termux

configure: WARNING: backtrace() is not available, wxStackWalker will not be available It means exactly what it says. The wxWidgets classs "wxStackWalker" will not be available, because your compiler / linux headers do not support the function "backtrace". But this is not a fatal error. Configure ju...
by doublemax
Mon Jul 15, 2019 8:24 pm
Forum: Platform Related Issues
Topic: Compiling wxWidgets 3.1.1 in Termux
Replies: 25
Views: 126

Re: Compiling wxWidgets 3.1.1 in Termux

I don't know if it's related to the last error, but "--enable-universal" is most likely not what you want.
by doublemax
Mon Jul 15, 2019 7:47 pm
Forum: Platform Related Issues
Topic: Compiling wxWidgets 3.1.1 in Termux
Replies: 25
Views: 126

Re: Compiling wxWidgets 3.1.1 in Termux

As the errors seem to be xlocale related, you could also try to disable that during configure.
--disable-xlocale
by doublemax
Mon Jul 15, 2019 5:41 pm
Forum: C++ Development
Topic: Print Command Output preserving special
Replies: 4
Views: 46

Re: Print Command Output preserving special

http://ascii-table.com/ansi-escape-sequences.php
https://askubuntu.com/questions/558280/ ... f-terminal

Parsing the color shouldn't be too hard, but emulating the cursor movement might be tricky.
by doublemax
Mon Jul 15, 2019 12:58 pm
Forum: C++ Development
Topic: Print Command Output preserving special
Replies: 4
Views: 46

Re: Print Command Output preserving special

As for the non-ascii characters, wxWidgets can display them, the problem is probably the character encoding of the console output. Once you know that (which is probably platform dependent) it should be easy to convert it to Unicode. Regarding the color, you will need some kind of terminal emulator f...
by doublemax
Sun Jul 14, 2019 12:27 pm
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 135

Re: Another wxSQLite3 Installation Question

I tried it and wxSQLite3 can't be build with GCC 5.1.0.

I tried GCC 8.1.0 from https://mingw-w64.org/doku.php/download/mingw-builds
(The installer asks for several options, leave everything as it is).

I managed to build both wxWidgets 3.1.2 and wxSQLite3 with it.
by doublemax
Sun Jul 14, 2019 9:47 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 135

Re: Another wxSQLite3 Installation Question

Downloading the SQLite3 sources separately is no longer required. The SQLite3 amalgamation sources are bundled with wxSQLite3 since January 2017. Yeah, sorry for the misinformation. I usually don't update wxSQLite3 as my version is heavily modified to get rid of the exceptions, which is a tedious a...
by doublemax
Sun Jul 14, 2019 9:34 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 135

Re: Another wxSQLite3 Installation Question

In addition to what Ulrich (the author of wxSQLite3) said, forget what i wrote about just adding all the source files. I just tried it and this method doesn't work any more, at least not as easily. So you have to try to build wxSQLite3 "the hard way".
by doublemax
Sun Jul 14, 2019 8:07 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 135

Re: Another wxSQLite3 Installation Question

If you add all *source* files to your project like in the 2nd link i posted, you don't need and additional linker settings.
by doublemax
Sun Jul 14, 2019 7:45 am
Forum: C++ Development
Topic: wxRichTextCtrl Text Not Centering
Replies: 5
Views: 88

Re: wxRichTextCtrl Text Not Centering

You need a matching EndAlignment() call.
by doublemax
Sun Jul 14, 2019 7:42 am
Forum: Database Related
Topic: Another wxSQLite3 Installation Question
Replies: 17
Views: 135

Re: Another wxSQLite3 Installation Question

Have you tried building the library through the makefile? https://github.com/utelle/wxsqlite3#install Alternatively, you can just add all source files to your project: https://forums.wxwidgets.org/viewtopic.php?p=166524#p166524 You can get the SQLite Amalgamation from here: https://www.sqlite.org/do...
by doublemax
Sat Jul 13, 2019 5:12 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets 3.0.4 on Cygwin
Replies: 27
Views: 301

Re: Compiling wxWidgets 3.0.4 on Cygwin

Maybe it's time to ask on the mailing list / Google group where you can reach the core developers:
https://groups.google.com/forum/#!forum/wx-users
by doublemax
Sat Jul 13, 2019 1:34 pm
Forum: C++ Development
Topic: Problem with frame pointer
Replies: 6
Views: 67

Re: Problem with frame pointer

The main problem lies here: MyFrame *frame = new MyFrame(); You're shadowing the member variable "frame" with a local variable of the same name. The member remains uninitialized. In general: Dialog should be created on the stack and shown with ShowModal().(This includes wxFileDialog). If you want so...
by doublemax
Sat Jul 13, 2019 1:16 pm
Forum: C++ Development
Topic: Problem with frame pointer
Replies: 6
Views: 67

Re: Problem with frame pointer

I'd need to see some (at least pseudo) code that shows in which order windows are created and destroyed.