Search found 1511 matches

by catalin
Mon Aug 26, 2019 9:23 am
Forum: Component Writing
Topic: Blender DAG node graph
Replies: 11
Views: 270

Re: Blender DAG node graph

I assume I have to draw text separately from the actual textbox (DrawTextCtrl then DrawText)? AFAIU no, it should be as simple as setting up a native control, then use it as the first argument in the corresponding DrawXXX() method, i.e. for a text control use it from a paint event handler with wxRe...
by catalin
Mon Aug 26, 2019 8:38 am
Forum: C++ Development
Topic: Create a window that lets the input events fall through
Replies: 4
Views: 123

Re: Create a window that lets the input events fall through

You should better describe what you are trying to achieve. How exactly would you use such a window? Should it be transparent only in relation with its wx- parent or with the desktop and any other window outside your program? By the contents of the links you posted I get that you want transparency bo...
by catalin
Wed Jul 24, 2019 8:36 am
Forum: C++ Development
Topic: wxPanel re-sizing issues
Replies: 7
Views: 198

Re: wxPanel re-sizing issues

First of all, you should really trim down your code to the minimum when asking such questions. What you can easily remove are the calls that affect background, window style and creating the numerous buttons. Another inconvenient in your code is the confusing parameter names passed to your functions ...
by catalin
Wed Jul 17, 2019 9:29 am
Forum: Platform Related Issues
Topic: Compiling wxWidgets 3.1.1 in Termux
Replies: 50
Views: 881

Re: Compiling wxWidgets 3.1.1 in Termux

I'm getting a bit lost in this and probably completely misunderstanding things, so sorry in advance if I'm way off track. From what I understand, if you get a successful compile of wxW libs, you then try to build Audacity, but if the latter fails then you restart with compiling the former with [slig...
by catalin
Mon Jul 15, 2019 2:15 pm
Forum: Platform Related Issues
Topic: Compiling wxWidgets 3.1.1 in Termux
Replies: 50
Views: 881

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: 89

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: 64

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: 258

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: 136

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: 534

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: 81

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: 582

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: 143

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: 205

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: 135

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...