Search found 1516 matches

by catalin
Tue Nov 12, 2019 1:45 am
Forum: Component Writing
Topic: TabStop on custom control
Replies: 4
Views: 118

Re: TabStop on custom control

Having tried placing normal buttons on the window at design time, it appears Tab does nothing unless the buttons are placed on a wxPanel. By "window" there you probably mean wxFrame or wxDialog. Either way, just place a wxPanel on whatever "window" you are using, then place the buttons on the wxPan...
by catalin
Mon Oct 14, 2019 9:45 pm
Forum: wxDev-C++
Topic: Problems with strange symbols into my interface program
Replies: 8
Views: 891

Re: Problems with strange symbols into my interface program

Does this have anything to do with wxWidgets?
by catalin
Mon Oct 14, 2019 4:08 am
Forum: C++ Development
Topic: menubar is null which crashes program
Replies: 7
Views: 205

Re: menubar is null which crashes program

is this a bug? It's most likely a documentation issue. All samples attach menu bar after adding menus to it, and SetMenuBar() docs do say "Under Windows, [...] be sure to initialize data members properly before calling SetMenuBar()" which is probably referring to exactly this issue, although in a r...
by catalin
Sun Oct 13, 2019 8:45 am
Forum: C++ Development
Topic: '&': illegal operation on bound member function expression
Replies: 5
Views: 170

Re: '&': illegal operation on bound member function expression

Shadowblitz16 wrote:
Sun Oct 13, 2019 2:41 am
I keep getting the error
Wolfgang wrote:
Sun Oct 13, 2019 8:40 am
There is no error shown
No error shown, but then how do you get it?
by catalin
Sun Oct 13, 2019 8:16 am
Forum: C++ Development
Topic: '&': illegal operation on bound member function expression
Replies: 5
Views: 170

Re: '&': illegal operation on bound member function expression

Everything looks fine with your code. The error must be coming from somewhere else. You should provide more information about an error, like the file and line number where it occurred.
Or even better: debug it yourself, by removing pieces of code one by one until it compiles.
by catalin
Mon Aug 26, 2019 9:23 am
Forum: Component Writing
Topic: Blender DAG node graph
Replies: 11
Views: 422

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

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

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

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

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

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

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

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

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

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