Ah, ok. Got it.PB wrote: ↑Thu Apr 21, 2022 3:42 pm If the folder WXDIR/3rdparty/pcre is empty, you did not check out the GIT submodules.
See https://groups.google.com/g/wx-dev/c/BiPDazqdM60 and https://github.com/wxWidgets/wxWidgets/ ... DME-GIT.md
Search found 128 matches
- Thu Apr 21, 2022 4:27 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiler error on wxWidgets 3.1.7
- Replies: 2
- Views: 917
Re: Compiler error on wxWidgets 3.1.7
- Thu Apr 21, 2022 3:33 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiler error on wxWidgets 3.1.7
- Replies: 2
- Views: 917
Compiler error on wxWidgets 3.1.7
Hi. I don't know if this is a platform related (I'm using vc 2010), but I downloaded the current git version from master (https://github.com/wxWidgets/wxWidgets/archive/refs/heads/master.zip) and when try to build with this options: nmake /f makefile.vc BUILD=release SHARED=0 TARGET_CPU=X64 I get: i...
- Thu Apr 14, 2022 12:41 am
- Forum: C++ Development
- Topic: Multiple wxChoices with single Bind and userData
- Replies: 5
- Views: 542
Re: Multiple wxChoices with single Bind and userData
Regardless of the initial question, if you need a wxTextCtrl for each wxChoice, maybe wxComboBox is the control you want? The wxChoices have commands to be executed based on the user input on wxTextCtrl. Right now this is what I have, don't know if this is programatically correct, but is working: m...
- Wed Apr 13, 2022 9:02 pm
- Forum: C++ Development
- Topic: Multiple wxChoices with single Bind and userData
- Replies: 5
- Views: 542
Re: Multiple wxChoices with single Bind and userData
Ok, do you have an idea about how to accomplish my task?
- Wed Apr 13, 2022 7:19 pm
- Forum: C++ Development
- Topic: Multiple wxChoices with single Bind and userData
- Replies: 5
- Views: 542
Multiple wxChoices with single Bind and userData
Hi. I'm want to reduce code lines. I had 3 wxTextCtrl for 3 wxChoices. I want to catch in a single method the wxEVT_CHOICE and pass a wxTextCtrl object: wxTextCtrl* tc1 = new wxTextCtrl(...) wxChoice* c1 = new wxChoice(...) wxTextCtrl* tc2 = new wxTextCtrl(...) wxChoice* c2 = new wxChoice(...) wxTex...
- Wed Apr 13, 2022 5:51 pm
- Forum: C++ Development
- Topic: wxProcess::Kill kills also my application
- Replies: 1
- Views: 420
wxProcess::Kill kills also my application
Hi. Seems that my wxProcess::Kill also kills my app. Here is relevant code: m_proc = new wxProcess( this ); // from a wxButton m_proc->Open( some_cmd, wxEXEC_ASYNC | wxEXEC_MAKE_GROUP_LEADER ); // from another wxButton m_proc->Kill( m_proc->GetPid(), wxSIGTERM, wxKILL_CHILDREN ); // :( What I'm expe...
- Mon Apr 11, 2022 6:14 pm
- Forum: C++ Development
- Topic: wxGrid: capture doble click in row
- Replies: 2
- Views: 508
Re: wxGrid: capture doble click in row
wxGrid::GetGridRowLabelWindow() returns the pointer to the row label window. You can use Bind() to connect a mouse event handler to it. With wxGrid::YToRow() you can get the row where the mouse pointer is. Thanks, GetGridRowLabelWindow is the way: wxGrid* m_grid1 = new wxGrid( panel, wxID_ANY ); m_...
- Mon Apr 11, 2022 3:33 pm
- Forum: C++ Development
- Topic: wxGrid: capture doble click in row
- Replies: 2
- Views: 508
wxGrid: capture doble click in row
Hi.
Is it possible to capture mouse events in the row counter cell? I mean, if you see the screenshot, it would where number 1, number 2 are placed.
Is it possible to capture mouse events in the row counter cell? I mean, if you see the screenshot, it would where number 1, number 2 are placed.
- Thu Apr 07, 2022 1:55 pm
- Forum: Compiler / Linking / IDE Related
- Topic: VS2019 nmake BUILD=release does nothing
- Replies: 4
- Views: 882
Re: VS2019 nmake BUILD=release does nothing
AFIK at least from 3.1.5+ you need to add the cpu param to build wxWidgets. I have never used the CPU parameter (bitness is determined by the bitness of command tools) and I have built wxWidgets with nmake countless times, including the latest versions. OK, maybe in my case something detected compi...
- Wed Apr 06, 2022 5:43 pm
- Forum: Compiler / Linking / IDE Related
- Topic: VS2019 nmake BUILD=release does nothing
- Replies: 4
- Views: 882
Re: VS2019 nmake BUILD=release does nothing
I think you forgot to add cpu target, for example:
AFIK at least from 3.1.5+ you need to add the cpu param to build wxWidgets.
Code: Select all
nmake /f makefile.vc BUILD=release SHARED=1 TARGET_CPU=X64
- Wed Apr 06, 2022 1:49 pm
- Forum: Platform Related Issues
- Topic: [wxGTK] wxFrame::GetIcon() not portable as wxMSW
- Replies: 2
- Views: 510
Re: [wxGTK] wxFrame::GetIcon() not portable as wxMSW
Hi, Where did you get the icon? Did you make it yourself or downloaded from the Web? Does the icon have transparency? Can you open the file with the icon in any graphics editor on both MSW and GTK (linux)? Thank you. Hi, ONEEYEMAN. My icons where downloaded from free icons site, but I found the anw...
- Tue Apr 05, 2022 4:49 pm
- Forum: Platform Related Issues
- Topic: [wxGTK] wxFrame::GetIcon() not portable as wxMSW
- Replies: 2
- Views: 510
[wxGTK] wxFrame::GetIcon() not portable as wxMSW
Hi. I'm testing my code in the environments: 1. Win7 + msw 3.0.5 2. Archlinux + wxgtk 3.0.5 The following code works under msw: #include "app_icon.xpm" wxIcon hIcon = wxICON( app_icon ); SetIcon( hIcon ); m_taskIcon = new MyTaskBarIcon( this ); // .. MyTaskBarIcon::MyTaskBarIcon( MyFrame *...
- Sat Mar 26, 2022 8:03 pm
- Forum: C++ Development
- Topic: Load a wxPanel from a XRC file
- Replies: 7
- Views: 692
Re: Load a wxPanel from a XRC file
In simple term: how to avoid resizing less than the wxframe layout (something that SetSizeHints helps) from xrc ?
- Sat Mar 26, 2022 2:21 pm
- Forum: C++ Development
- Topic: Load a wxPanel from a XRC file
- Replies: 7
- Views: 692
Re: Load a wxPanel from a XRC file
Hi, Well, sizers are not windows and so they don't have hints. But if you do load frame from xrc - you don't have a crash anymore? Thank you. Nop, the frame and its controls are show as expected... only the resizing thing as you can see the image attached. Or maybe there's an option in wxformbuilde...
- Sat Mar 26, 2022 6:44 am
- Forum: C++ Development
- Topic: Load a wxPanel from a XRC file
- Replies: 7
- Views: 692
Re: Load a wxPanel from a XRC file
Also, why do you not load wxFrame from xrc? Thank you. Well, if load my frame from xrc: MyFrame::MyFrame() { wxXmlResource::Get()->LoadFrame( this, NULL, wxT("MyFrame") ); // GetSizer()->SetSizeHints(this); // I get core dump } I would like to adjunt the sizer hints but I get core dump :(