Search found 5006 matches

by ONEEYEMAN
Wed Apr 14, 2021 9:35 pm
Forum: Platform Related Issues
Topic: Getting windows mousepointer icon = black square
Replies: 7
Views: 123

Re: Getting windows mousepointer icon = black square

Hi,
OTOH, creating a wxCursor from HCURSOR and then trying to create a wxBitmap from it led to a crash...
Was the crash on the 3.0.5 or HEAD?

Thank you.

P.S.: I'm going to get latest sources over the weekend and try it on all 3 platforms after OSX update..

Thank you.
by ONEEYEMAN
Wed Apr 14, 2021 3:13 pm
Forum: C++ Development
Topic: Help creating a wxProcess/wxGenericProgressDialog combo!
Replies: 4
Views: 137

Re: Help creating a wxProcess/wxGenericProgressDialog combo!

Hi,
It depends on the task at hand.
Usually subclassing wxWidgets controls have very small use-case scenarios especially with the latest release where you can dynamically bind the event from anywhere
The only 2 GUI classes that aer make sense subcklassing are wxFrame/wxTLW and wxDialog.

Good luck.
by ONEEYEMAN
Wed Apr 14, 2021 8:31 am
Forum: Compiler / Linking / IDE Related
Topic: MSW: 3.1.2 + CMake3.19 install link errors (VS2015) (Edited: actually FindwxWidgets.cmake mostly)
Replies: 12
Views: 164

Re: MSW: 3.1.2 + CMake3.19 install link errors (VS2015) (Edited: actually FindwxWidgets.cmake mostly)

Hi, Yes, it is portable, but to do what? You can create a simple MSVC solution and compile your code or you use the props file. On Linux you can use Anjuta which has template to creating a wxWidgets projects. And on OSX - use Xcode. It is well documented in the WiKi on how to create it. No need to 3...
by ONEEYEMAN
Tue Apr 13, 2021 10:03 pm
Forum: Compiler / Linking / IDE Related
Topic: The easy and rapid method to start wxWidgets project in visual studio 2019
Replies: 10
Views: 166

Re: The easy and rapid method to start wxWidgets project in visual studio 2019

Hi, Did you build the library itself? Or you just ran the installer? Open MSVC, go to "File -> Open", navigate to c:\wxWidgets\build\msw and open the file wx_vcN.sln. Then go to "Build -> Batch Build...", click "Select All", then "Build". Go make yourself a cup of coffee. After the build is complete...
by ONEEYEMAN
Tue Apr 13, 2021 5:12 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 43
Views: 4495

Re: MenuBar in macOS Catalina

Hi,
Is "minimal" sample works for you?

Thank you.
by ONEEYEMAN
Tue Apr 13, 2021 5:11 pm
Forum: C++ Development
Topic: ClientData mysery
Replies: 1
Views: 48

ClientData mysery

Hi, ALL, 1. Is this proper/legitimate way: MyDialog::MyDialog(...) { m_myListBiox = new wxListBix( ... ); ...... } void MyDialog::SomeFunc() { wxString test = "data"; m_myListBox->Append( "String1", &test ); } 2. If the code is correct - how do I get back the "data"? I know I should use pointer to s...
by ONEEYEMAN
Tue Apr 13, 2021 1:15 pm
Forum: Compiler / Linking / IDE Related
Topic: swap exisintg project config
Replies: 4
Views: 64

Re: swap exisintg project config

PB,
They are not.
However, the OP already have a reason for rebuilding the library - I'm giving him/her another one to make his/her life and life of all of us easier. :D

Thank you.
by ONEEYEMAN
Tue Apr 13, 2021 12:32 pm
Forum: Compiler / Linking / IDE Related
Topic: swap exisintg project config
Replies: 4
Views: 64

Re: swap exisintg project config

Hi,
Unless you want to modify the CodeBlock sources, please drop monolithic build option.

Thank you.
by ONEEYEMAN
Tue Apr 13, 2021 12:25 pm
Forum: C++ Development
Topic: wxPanel shows no minimize button
Replies: 2
Views: 55

Re: wxPanel shows no minimize button

Hi,
Do you see the "minimize button" when running "auidemo"?

What is your OS?

Thank you.
by ONEEYEMAN
Mon Apr 12, 2021 11:37 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 43
Views: 4495

Re: MenuBar in macOS Catalina

Hi,
Are you running application bundle?
Can you compile and run the "minimal" sample provided by wxWidgets?
How did you compile the library? How do you create Xcode project?

Thank you.
by ONEEYEMAN
Mon Apr 12, 2021 3:17 pm
Forum: C++ Development
Topic: Redirection of a process output
Replies: 8
Views: 155

Re: Redirection of a process output

Hi,
wxLogXXX?

Thank you.
by ONEEYEMAN
Fri Apr 09, 2021 4:59 pm
Forum: C++ Development
Topic: Using Matplotlib with wxWidgets C++
Replies: 20
Views: 473

Re: Using Matplotlib with wxWidgets C++

Hi,
2.8 does support wxStaticBox and it works just fine.
What issues you encounter when trying to build the library with 3.0? You should probably try to address them with MatPlotLib developers.

Thank you.
by ONEEYEMAN
Fri Apr 09, 2021 3:54 pm
Forum: C++ Development
Topic: Capture mouse events from childwindows
Replies: 5
Views: 127

Re: Capture mouse events from childwindows

Hi,
Mouse events are not propagated up the chain.
You need to catch it at the highest level and send it yourself down the road.

What do you want it to be caught in the window and not the children level?

Thank you.
by ONEEYEMAN
Thu Apr 08, 2021 6:48 pm
Forum: Platform Related Issues
Topic: Load resources such as images and icons in my .dll project
Replies: 10
Views: 238

Re: Load resources such as images and icons in my .dll project

Hi,
Can you show us what is your DllMain looks like?
Do you create an instance of wxApp inside the DLL?

Thank you.