Search found 674 matches
- Sun Oct 02, 2022 3:15 pm
- Forum: C++ Development
- Topic: How to resize all netsted sizers
- Replies: 2
- Views: 615
Re: How to resize all netsted sizers
Hello, Thanks for answer, but unfortunately, none of them worked. I finished by solving my issue by writing recursive functions which perform Layout on all sizers included in my top level window (see code below). But honestly, I am a bit puzzled : I tought calling Layout on top sizer would be enough...
- Sun Sep 25, 2022 2:09 pm
- Forum: C++ Development
- Topic: How to resize all netsted sizers
- Replies: 2
- Views: 615
How to resize all netsted sizers
Hello, I have an application which constructs its GUI dynamically. It is thus composed of differents nested wxWindow derived classes, and nested derived wxSizer classes to organise children windows. On some user actions, I can add of suppress some wxWindows (for example, a wxTextCtrl). I would want,...
- Fri Feb 02, 2018 7:39 pm
- Forum: Platform Related Issues
- Topic: MAC : Avoid background application in dock
- Replies: 6
- Views: 4260
Re: MAC : Avoid background application in dock
ONEEYEMAN: no I cannot use a thread. My previous version of the code used this. But I had a lot of trouble : I launch a JVM with proprietary code running in it (not my code), and it continuously change application settings. In a separate process, it does not bother me, but in the same process, this ...
- Wed Jan 31, 2018 3:57 pm
- Forum: Platform Related Issues
- Topic: MAC : Avoid background application in dock
- Replies: 6
- Views: 4260
Re: MAC : Avoid background application in dock
Dear Oneeyeman, Unfortunately, this will not solve my issue. The same application (and thus, the same bundle) is used for both process. The first process need to be displayed in the dock and needs its own menu, whilst the second process should have none, as it is a background process. By modifying t...
- Mon Jan 29, 2018 8:37 pm
- Forum: Platform Related Issues
- Topic: MAC : Avoid background application in dock
- Replies: 6
- Views: 4260
MAC : Avoid background application in dock
Dear all, I have written a multi-platform application that, for some reasons, during execution, starts a new instance of the same application for a background process. This background process does not perform any gui operation. On Windows, everything works as expected : the background process is lau...
- Sat Dec 09, 2017 7:35 am
- Forum: Platform Related Issues
- Topic: linux : Error: Failed to add descriptor xx to epoll descriptor xx
- Replies: 8
- Views: 3749
Re: linux : Error: Failed to add descriptor xx to epoll descriptor xx
ONEEYEMAN Yes, I use events to communicate between worker thread and main thread : the worker thread is filling a common memory (protected with mutex) and, when ready, posts an event so that the main thread is consuming produced data. There is no communication in the other direction. Bu I am not sur...
- Fri Dec 08, 2017 4:36 am
- Forum: Platform Related Issues
- Topic: linux : Error: Failed to add descriptor xx to epoll descriptor xx
- Replies: 8
- Views: 3749
Re: linux : Error: Failed to add descriptor xx to epoll descriptor xx
With minimum changes : certainly not... All samples widely use gui functions. My problem only occurred on a platform that has no X11 server (and thus, I cannot compile with a gui-enabled wxWidgets version). Moreover, socket sample uses sockets with events. As my bug occurs when using sockets in seco...
- Thu Dec 07, 2017 6:48 am
- Forum: Platform Related Issues
- Topic: linux : Error: Failed to add descriptor xx to epoll descriptor xx
- Replies: 8
- Views: 3749
Re: linux : Error: Failed to add descriptor xx to epoll descriptor xx
I did some investigations about this problem, and found other problems when using wxSocket in secondary thread under a nnon-gui linux application. The problem described above (epoll descriptor warning) seems to occur only if using a wxDatagramSocket in a secondary thread. But for both wxDatagramSock...
- Tue Oct 10, 2017 10:03 am
- Forum: Platform Related Issues
- Topic: Performance issue after migration
- Replies: 8
- Views: 3981
Re: Performance issue after migration
OK, thanks.
I thought that you discouraged copying from bitmap to DC. But I probably misunderstood.
I will give it a try because the major part of the drawing is static.
Thanks for suggestions.
Brice
I thought that you discouraged copying from bitmap to DC. But I probably misunderstood.
I will give it a try because the major part of the drawing is static.
Thanks for suggestions.
Brice
- Tue Oct 10, 2017 5:55 am
- Forum: Platform Related Issues
- Topic: Performance issue after migration
- Replies: 8
- Views: 3981
Re: Performance issue after migration
Dear all, Thanks for your advices. After investigation, compiler was not the cause of the issue: all seems to be linked to migration to wxWidgets 3.0.3, and in particular, in the DC stuff. I did not migrated to wxWidgets 3.1.0 because this is still an unstable version. Instead, I came back to 3.0.0 ...
- Thu Oct 05, 2017 8:02 am
- Forum: Platform Related Issues
- Topic: Performance issue after migration
- Replies: 8
- Views: 3981
Performance issue after migration
Dear all, I recently migrated my development environment : starting from wxWidgets 3.0.0 with MSVC2010 compiler, I switched to wxWidgets 3.0.3 with MSVC2017 compiler. Apart that, my application was not changed. Before those changes, I never noticed any performance issue in my app. But now that I upg...
- Sun Jul 30, 2017 6:33 pm
- Forum: Platform Related Issues
- Topic: Did anybody seen this issue? Crash on OSX with "BAD-ACCESS"
- Replies: 2
- Views: 1433
Re: Did anybody seen this issue? Crash on OSX with "BAD-ACCESS"
Dear Oneeyman, Unfortunately, having a program that runs under Windows and Linux does not mean that you do not have a bug in it. I am currently doing something similar to you (I am porting a new module of an application developed under Windows on Mac OSX) and I have myself several platform related i...
- Sun Jul 23, 2017 2:07 pm
- Forum: Platform Related Issues
- Topic: linux : Error: Failed to add descriptor xx to epoll descriptor xx
- Replies: 8
- Views: 3749
linux : Error: Failed to add descriptor xx to epoll descriptor xx
Dear all, I have a program written with wxWidgets 3.0.2. It is aimed at running on a raspberry (raspbian, gcc compiler, only wxWidgets CORE services, as no GUI is running on the raspberry). But I test it on Windows (mscv 2012 compiler, wxWidgets compiled with GUI services). This program widely uses ...
- Sun May 07, 2017 1:01 pm
- Forum: Platform Related Issues
- Topic: Dynamic change of encoding under MAC OSX
- Replies: 1
- Views: 1265
Dynamic change of encoding under MAC OSX
Dear all, I am facing an issue with an application that loads a java virtual machine by using JNI interface. Before starting the java virtual machine, the application is running fine. But, under Mac, once the java virtual machine is launched (JNI_CreateJavaVM), the application is starting interpreti...
- Wed Sep 30, 2015 6:05 am
- Forum: Platform Related Issues
- Topic: full screen on Mac
- Replies: 1
- Views: 1720
Re: full screen on Mac
I finally found the answer to my question. I post it here so that it can help someone else. The functionality described above is currently not supported by wxWidgets (version 3.0.2). But an implementation proposal is available at the following url : http://trac.wxwidgets.org/changeset/76495/svn-wx B...