Search found 1507 matches

by catalin
Mon Jul 15, 2019 2:15 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

Why not use regular build instructions for Linux? i.e. - get sources from https://github.com/wxWidgets/wxWidgets - follow instructions from https://docs.wxwidgets.org/trunk/plat_gtk_install.html Aside from that, IIRC functions taking wchar_t are not available under Android, so you might need to use ...
by catalin
Mon Jul 08, 2019 7:08 pm
Forum: Compiler / Linking / IDE Related
Topic: VS2017 Heap Corruption
Replies: 1
Views: 39

Re: VS2017 Heap Corruption

Was there a question too, that I'm missing? Or you just felt like sharing an incomplete piece of code?
by catalin
Mon Jul 08, 2019 11:43 am
Forum: C++ Development
Topic: wxFrame Owner drawn
Replies: 1
Views: 34

Re: wxFrame Owner drawn

Sure, just create it without caption and borders.
by catalin
Tue Jul 02, 2019 2:16 pm
Forum: C++ Development
Topic: Monospace font in TextCtrl?
Replies: 15
Views: 165

Re: Monospace font in TextCtrl?

Create a wxFont with wxFONTFAMILY_TELETYPE family (see the appropriate constructor). Then use it with SetFont() for your text control.
by catalin
Thu Jun 06, 2019 1:00 am
Forum: C++ Development
Topic: [wxMSW][wx3.0.3] wxRichTextCtrl: Getting data as html, copy html data to clipboard
Replies: 2
Views: 108

Re: [wxMSW][wx3.0.3] wxRichTextCtrl: Getting data as html, copy html data to clipboard

1. [...] Email's body data can be copied/pasted between them as HTML/richtext. I want same thing. In my case, it copies and paste as text only. 2. Getting data from wxRichTextCtrl also gives text only without format. I need it as html data. IIRC support for HTML clipboard format is not implemented ...
by catalin
Wed May 15, 2019 2:07 pm
Forum: General Development
Topic: WxWidgets App with multiples windows
Replies: 2
Views: 300

Re: WxWidgets App with multiples windows

Is the value held in test3 valid? You should always get a valid tree item id using event.GetItem().
by catalin
Wed May 15, 2019 12:23 pm
Forum: C++ Development
Topic: wxTextFile BOM
Replies: 1
Views: 62

Re: wxTextFile BOM

You have to do it manually AFAIK. Probably nothing changed about this since 2014.
by catalin
Wed May 15, 2019 10:38 am
Forum: Platform Related Issues
Topic: Windows 10 Dark Mode
Replies: 6
Views: 341

Re: Windows 10 Dark Mode

PB wrote:
Mon May 13, 2019 5:40 pm
MS wants everyone to go UWP and likely will not spend any money on teaching the old dog new tricks...
Actually it seems that Microsoft wants to close the UWP, Win32 divide. But indeed, at lest for now, UWP-only features are not available through wxW.
by catalin
Mon May 13, 2019 12:03 pm
Forum: C++ Development
Topic: GetCaret()->Hide() makes the app crash at start-up
Replies: 3
Views: 111

Re: GetCaret()->Hide() makes the app crash at start-up

This sounds very much as if 'GetCaret()' reliably returned null.

As already answered, there are probably better ways to hide the caret, but there should really be no mystery why the app crashed, and a debugger reliably helps with that part.
by catalin
Mon May 13, 2019 11:58 am
Forum: C++ Development
Topic: Dynamically add controls into wxFlexGridsizer inside wxScrolledWindow - no resize
Replies: 5
Views: 155

Re: Dynamically add controls into wxFlexGridsizer inside wxScrolledWindow - no resize

I wonder how you (or the UI builder's creators) manage to output such convoluted code. But the first thing that is obviously wrong is the parent of the UI elements ("&d" everywhere). From your description there is an intermediary scrolled window there, in which case it should be the parent of all el...
by catalin
Mon May 13, 2019 11:48 am
Forum: C++ Development
Topic: What is the preferred way of getting a gui value from other std::thread
Replies: 3
Views: 109

Re: What is the preferred way of getting a gui value from other std::thread

One way to do it: from the secondary thread send a wxThreadEvent to the main thread requesting the needed info; secondary thread waits at a wxMessageQueue; main thread posts the info to the wxMessageQueue instance; secondary thread is unlocked and processes the info. Formats of request, returned inf...
by catalin
Tue May 07, 2019 5:14 am
Forum: Compiler / Linking / IDE Related
Topic: MSVC 2017 fails to load symbols during Debugging
Replies: 2
Views: 190

Re: MSVC 2017 fails to load symbols during Debugging

I did put pdb along with the DLLs (I'm building a DLL-based application) in the same directory as the executable, but I still see the default MSVC screen ("No source code found") trying to step inside wx call. As the error clearly states, it cannot find the source code . pdb files do not contain so...
by catalin
Sun Apr 21, 2019 6:14 pm
Forum: Platform Related Issues
Topic: wxNotebook not shown on Windows.
Replies: 2
Views: 111

Re: wxNotebook not shown on Windows.

The parent of the notebook must be 'this', not 'parent'.
by catalin
Wed Apr 17, 2019 12:56 pm
Forum: C++ Development
Topic: How to stop windows from showing program as "not responding"
Replies: 10
Views: 317

Re: How to stop windows from showing program as "not responding"

ValeV wrote:
Wed Apr 17, 2019 12:37 pm
I think the thread can be closed
You can set it to "Solved" by accepting one of the replies (see the 'v'-like button next to each reply).
by catalin
Wed Apr 17, 2019 8:43 am
Forum: C++ Development
Topic: How to stop windows from showing program as "not responding"
Replies: 10
Views: 317

Re: How to stop windows from showing program as "not responding"

That is because you can only do non-GUI work in a secondary thread (no matter what type of threads you use).
https://docs.wxwidgets.org/trunk/overview_thread.html