Search found 23 matches

by djmig
Thu Dec 06, 2018 10:23 pm
Forum: C++ Development
Topic: Bound wxEVT_TEXT_ENTER not called in 3.1.1
Replies: 4
Views: 389

Re: Bound wxEVT_TEXT_ENTER not called in 3.1.1

Thanks @doublemax, I'll patch my copy of textctrl.mm
by djmig
Thu Dec 06, 2018 9:27 pm
Forum: C++ Development
Topic: Bound wxEVT_TEXT_ENTER not called in 3.1.1
Replies: 4
Views: 389

Re: Bound wxEVT_TEXT_ENTER not called in 3.1.1

Hi @ONEEYEMAN

I'm on OSX 10.11 (El Capitan).
It is reproducible in text sample, specifically in “Single line” text control. Found different behaviour. In 3.1.0, while logging text events, we can see "Enter pressed in some control" shown in the log window. In 3.1.1 it does not show the text.
by djmig
Thu Dec 06, 2018 2:10 am
Forum: C++ Development
Topic: Bound wxEVT_TEXT_ENTER not called in 3.1.1
Replies: 4
Views: 389

Bound wxEVT_TEXT_ENTER not called in 3.1.1

Hi, noob here. A while back, I made a simple app using wxWidgets 3.1.0 where a wxTextCtrl has wxTE_PROCESS_ENTER property and a wxIntegerValidator, and it worked. Recompiling in 3.1.1, bound function to wxEVT_TEXT_ENTER in the same app never gets called. Is it a regression? #include <wx/wx.h> #inclu...
by djmig
Tue Sep 05, 2017 8:18 pm
Forum: Platform Related Issues
Topic: wxRichTextCtrl sample error loading XML on OSX
Replies: 5
Views: 1233

Re: wxRichTextCtrl sample error loading XML on OSX

Thank you eranon, that answers my question. Silly of me for not realising it :oops:
by djmig
Tue Sep 05, 2017 7:30 pm
Forum: Platform Related Issues
Topic: wxRichTextCtrl sample error loading XML on OSX
Replies: 5
Views: 1233

Re: wxRichTextCtrl sample error loading XML on OSX

Thank you both for anwering. @ONEEYEMAN: I'm not sure which of these from https://forums.wxwidgets.org/search.php?keywords=wxrichtext+xml you were referring to. @doublemax: Opening the saved XML file eventually worked, as shown by the second picture in the original question. But, shouldn't wxRichTex...
by djmig
Tue Sep 05, 2017 4:56 pm
Forum: Platform Related Issues
Topic: wxRichTextCtrl sample error loading XML on OSX
Replies: 5
Views: 1233

wxRichTextCtrl sample error loading XML on OSX

Hi, I tried richtext sample that comes with wxWidgets, and was surprised that while it compiled without any problem it cannot properly load saved XML and HTML. The saved files were created by saving the content of the sample itself to disk. While loading them through the sample, the cursor turned to...
by djmig
Thu Aug 24, 2017 1:40 pm
Forum: C++ Development
Topic: How to override Show() method?
Replies: 3
Views: 946

Re: How to override Show() method?

@doublemax: thank you, that worked and made me rethink the program flow. My program was actually calling Objective-C method(s) from C++, and I was attempting to call Show() from within the .mm file. Evoking wxFrame::Show() there causes " error : call to non-static member function without an object a...
by djmig
Wed Aug 23, 2017 8:47 pm
Forum: C++ Development
Topic: How to override Show() method?
Replies: 3
Views: 946

How to override Show() method?

Hi, I've been trying to override Show() method from a class derived from wxFrame, but could not get it to work, possibly due to my incompetence in both C++ and understanding of wxWidgets in general :( Suppose I have the following class header: #include <wx/wx.h> class SuperDumbFrame : public wxFrame...
by djmig
Thu Jul 27, 2017 3:22 am
Forum: Platform Related Issues
Topic: Did anybody seen this issue? Crash on OSX with "BAD-ACCESS"
Replies: 2
Views: 732

Re: Did anybody seen this issue? Crash on OSX with "BAD-ACCESS"

Hi I mostly develops for OSX. Used to develop on OSX 10.9 then 10.10, and now on 10.11 as Apple releases new OS versions. Been using wxWidgets 3.1 for a little more than a year. As you do, I compiled wxWidgets with Cocoa and C++11. As for your problem, is it possible that you did not include --enabl...
by djmig
Wed Jun 28, 2017 2:52 am
Forum: Platform Related Issues
Topic: [OSX] EndModal / NSApp endModalSession / WindowRef stuff
Replies: 4
Views: 1116

Re: [OSX] EndModal closing native Modal, how to not call NSApp endModal ?

This http://docs.wxwidgets.org/3.1/classwx_dialog.html documentation explains that subsequent modals must be interspersed with EndModal() calls, hence both modals are exited with that single call.
modal.png
-----
MacBook Pro (2014), El Capitan, wxWidgets 3.1.0
by djmig
Thu Jun 22, 2017 8:29 pm
Forum: Platform Related Issues
Topic: wxAUI sample application crashes on Mac
Replies: 6
Views: 1374

Re: wxAUI sample application crashes on Mac

I've never seen this kind of problem. I'm pretty sure the cause of your mishaps stems from your wxWidgets build. I recommend you to read: https://wiki.wxwidgets.org/Compiling_wxWidgets_using_the_command-line_(Terminal) and http://www.appletonaudio.com/blog/2013/wxwidgets-c-libraries-and-c11/ My setu...
by djmig
Thu Oct 06, 2016 6:06 pm
Forum: Announcements and Discoveries
Topic: ANN: wxSQLite3 3.4.0 released
Replies: 2
Views: 1641

Re: ANN: wxSQLite3 3.4.0 released

Sorry, my mistake. Please disregard my post above.
The library was compiled with wrong (older) header files #-o
by djmig
Thu Oct 06, 2016 3:35 pm
Forum: Announcements and Discoveries
Topic: ANN: wxSQLite3 3.4.0 released
Replies: 2
Views: 1641

Re: ANN: wxSQLite3 3.4.0 released

Hi, there seems to be some files missing within build31 directory. Building wxSQLite3 for wxWidgets 3.1.1 using build30 with necessary options compiles without error, yet my older console program bound with the resulting libwxcode_osx_cocoau_wxsqlite3-3.1.a and libsqlite3secure.a (I'm on OS X) choke...
by djmig
Mon Mar 07, 2016 9:37 pm
Forum: C++ Development
Topic: Error when App is closing. Problems with deallocation of wxMenu
Replies: 10
Views: 1415

Re: Error when App is closing. Problems with deallocation of wxMenu

Configuring from the command line should be as simple as: ../configure --disable-shared --enable-unicode --disable-sys-libs Add modules (such as SDL) as per your requirements. Create a subdirectory first as shown by this wiki: https://wiki.wxwidgets.org/Compiling_wxWidgets_using_the_command-line_%28...
by djmig
Sat Mar 05, 2016 9:21 pm
Forum: General Development
Topic: wxWidgets 3 x SDL2 x OpenGL 3.x
Replies: 3
Views: 1924

Re: wxWidgets 3 x SDL2 x OpenGL 3.x

Looking forward to wxWidgets 3.1 release version, because as it currently stands, GLEW reports wxGLCanvas as OpenGL 2.1. On the other hand, GLEW with GLFW3 on the same hardware was reported as OpenGL 4.1. // GLEW on wxWidgets 3.1.0 (downloaded from GitHub on 3rd Feb 2016) OpenGL 2.1 NVIDIA-10.8.14 3...