Search found 1604 matches

by catalin
Mon Sep 14, 2020 9:04 am
Forum: General Development
Topic: licence de wxWidgets et ses obligations
Replies: 23
Views: 19371

Re: licence de wxWidgets et ses obligations

Hi Kiba, [You probably won't find many users around here that will answer you in French] You are allowed to create your closed source app with private license, or commercial license, or any other kind, and there is nothing to pay for using wxWidgets. You don't set a type of license in wxAboutDialogI...
by catalin
Tue Aug 18, 2020 11:53 am
Forum: C++ Development
Topic: Showing selection in wxTextCtrl
Replies: 6
Views: 1023

Re: Showing selection in wxTextCtrl

Create the wxTextCtrl with wxTE_NOHIDESEL flag.
by catalin
Fri Aug 14, 2020 7:52 am
Forum: Compiler / Linking / IDE Related
Topic: Does anyone successfully working with VLD and wxWidgets?
Replies: 12
Views: 1931

Re: Does anyone successfully working with VLD and wxWidgets?

Run your app outside VS and it should tell you which dll-s it cannot find.
by catalin
Wed Aug 12, 2020 11:11 am
Forum: C++ Development
Topic: what does piece of code do?
Replies: 6
Views: 812

Re: what does piece of code do?

GetValue() returns a wxString, which is not [necessarily] a std::string, so some mechanism might be needed for conversion, and using mb_str() is one of them. mb_str() returns wxCharBuffer, which is convertible to char*. If conversion works for you without the call to mb_str(), you might be using wxW...
by catalin
Wed Aug 12, 2020 4:33 am
Forum: C++ Development
Topic: Escape non printable chars in XML
Replies: 9
Views: 2981

Re: Escape non printable chars in XML

let's assume I'm confusing the "Unicode" with "utf-16" / "UCS-2". What does this have to do with the title of my post? It was very misleading, including the mix-up with utf-8 representation. How do I escape characters like 0x0500 and 0x0c00 (and some others I have here...
by catalin
Tue Aug 11, 2020 12:50 pm
Forum: C++ Development
Topic: Remove white border from panel inside wxAUINotebook page
Replies: 1
Views: 405

Re: Remove white border from panel inside wxAUINotebook page

FWIW it does look like a bug. The same happens with the latest git sources too.
by catalin
Tue Aug 11, 2020 9:33 am
Forum: C++ Development
Topic: Escape non printable chars in XML
Replies: 9
Views: 2981

Re: Escape non printable chars in XML

you can see that the UTF-8 ENQ is 0x05 (the same as ASCII) and the Unicode is 0x0500. ..this time I think it's perfectly clear -- you are confusing "Unicode" with "utf-16" / "UCS-2". "Unicode" is not an encoding, while utf-8, utf-16, ucs-2 are all encodings i...
by catalin
Tue Aug 11, 2020 12:38 am
Forum: C++ Development
Topic: Escape non printable chars in XML
Replies: 9
Views: 2981

Re: Escape non printable chars in XML

The UTF-8 representation of 0x0500 (unicode) is the same as UTF-8 (0x05) Uhm, no, it is not. Unicode U+0500 can be represented in utf-8 as 0xD4 0x80 (and FWIW as 0x0500 in utf-16). but with only one char. There is no such thing. You are probably confusing a misinterpretation of utf-16 0x0500 value ...
by catalin
Sun Aug 09, 2020 9:04 am
Forum: General Development
Topic: Using custom fonts in UI
Replies: 1
Views: 3536

Re: Using custom fonts in UI

by catalin
Sat Aug 08, 2020 4:54 pm
Forum: Compiler / Linking / IDE Related
Topic: stuck with error
Replies: 2
Views: 13539

Re: stuck with error

"../configure --with-gtk" fails, telling me that neither GTK+-3.0 nor GTK+-2.0 nor GTK+-1.2.3 is present. This is strange because the system is working properly with the GNOME Desktop (UBUNTU 20.04) You need the development packages for the GTK version of your choice (i.e. libgtk-3-dev).
by catalin
Fri Aug 07, 2020 3:10 am
Forum: C++ Development
Topic: Escape non printable chars in XML
Replies: 9
Views: 2981

Re: Escape non printable chars in XML

Did you mean "non-printable" as in "not on the keyboard"? Because it looks like 0x0500 does have a glyph. And you probably need to escape it inside the wxString that you use to write the xml, in which case you'd be better off by finding its utf8 representation and using that, whi...
by catalin
Mon Jul 20, 2020 5:41 am
Forum: C++ Development
Topic: wxURL and "An error occurred during negotiation"
Replies: 6
Views: 1933

Re: wxURL and "An error occurred during negotiation"

You realize this was written fifteen years ago, right? You should start a new topic describing your problem [anew], rather than resurrect such an old one.