Search found 1520 matches

by catalin
Sun Mar 29, 2020 9:43 am
Forum: Compiler / Linking / IDE Related
Topic: warning meaning
Replies: 3
Views: 69

Re: warning meaning

It means that the function was deprecated and should not be used in new code. Usually there is at least an alternative to deprecated API. Do you call that function anywhere in your code or how did you get the warning?
by catalin
Sat Mar 28, 2020 1:38 pm
Forum: C++ Development
Topic: Locating elements in the wxFrame/wxPanel
Replies: 2
Views: 54

Re: Locating elements in the wxFrame/wxPanel

Use wxSizer derived classes for automatic layout and resize.
by catalin
Fri Jan 31, 2020 6:59 am
Forum: C++ Development
Topic: Is wxMessageBox thread safe?
Replies: 1
Views: 83

Re: Is wxMessageBox thread safe?

No.
Direct interaction with the UI is not permitted from secondary threads. There are other mechanisms for this, see https://docs.wxwidgets.org/3.1/overview ... read_notes
by catalin
Mon Jan 20, 2020 2:39 am
Forum: C++ Development
Topic: French Text not showing up
Replies: 4
Views: 186

Re: French Text not showing up

The docs of wxString do say Standard std::string using implicit wxString::wxString(const std::string&) constructor. Notice that this constructor supposes that the string contains data in the current locale encoding, use FromUTF8() or the constructor taking wxMBConv if this is not the case. So try so...
by catalin
Tue Nov 12, 2019 1:45 am
Forum: Component Writing
Topic: TabStop on custom control
Replies: 4
Views: 707

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

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

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

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

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

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

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

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

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

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

Re: VS2017 Heap Corruption

Was there a question too, that I'm missing? Or you just felt like sharing an incomplete piece of code?