Questions tagged [wxwidgets]

wxWidgets is a cross-platform GUI framework. It is written in C++ and has bindings for Python, Perl, Ruby, PHP, Erlang and even .Net. It also supports several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+.

Information:

Current stable version: 3.0.5
Current development version: 3.1.5
Old stable version: 2.8.12

Homepage:

http://www.wxwidgets.org/

Documentation:

Books:

4153 questions
6
votes
2 answers

Debugging 32 bit binary in cygwin windows compiled with mingw-w64

I am trying to use gdb to debug mingw-w64 compiled 32 bit binary. However, gdb gives many warning and does not show any stack trace. How can i debug this process normally ? Here are some relevant details : This GDB was configured as…
Ashish Negi
  • 5,193
  • 8
  • 51
  • 95
6
votes
3 answers

Absolutely deathly wxWidgets Pain

I've never used wxWidgets before, and I'd love to try it out, but I've run into a million problems getting started. I am using wxWidgets 2.9.1 on Visual Studio 2010. I've gone through the batch build to build every project in every…
Avindra Goolcharan
  • 4,032
  • 3
  • 41
  • 39
6
votes
2 answers

Building wxWidgets 3.1.0 on CLion (Ubuntu)

I am currently trying to build wxWidgets-3.1.0 on a CLion 1.3 project. I use Ubuntu 16.04 (64 bit). Basically, I edited the CMakeLists.txt file like this: cmake_minimum_required(VERSION 3.5) project(WxProva) set(CMAKE_MODULE_PATH…
Federico Màlato
  • 115
  • 3
  • 14
6
votes
1 answer

Calling a random number generating member function doesn't produce entirely random numbers

I'm creating a wxWidget application with C++ where at the start of the program I want the application window to contain pixels with random colors like this: In the above application there are 3600 pixels (60 x 60) and I have given each pixel a…
jjepsuomi
  • 4,223
  • 8
  • 46
  • 74
6
votes
1 answer

What is the difference between a dialog based and frame based application in wxWidgets

I'm trying to learn GUI-programming with C++ using Codeblocks 16.01, wxWidgets 3.1.0 and MinGW and when I start up the wxWidget wizard in Codeblocks I get to choose whether my application type is dialog based or frame based. My question is: What…
jjepsuomi
  • 4,223
  • 8
  • 46
  • 74
6
votes
2 answers

Alien::wxWidgets install fails on OSX 10

It's basically the same as this one which didn't really ended up. I'm facing the same issue and I went a bit further. I had to change the code to allow a newer Macos sdk (10.11). So it compiled for a while but then failed whith this: ❯❯❯ perl…
guiohm
  • 101
  • 4
6
votes
3 answers

How to get Erlang to show UI components "debugger" and "observer" on Linux?

I'm running Kubuntu 15.04 64-bit and trying to get Erlang's 18.1 'debugger' or 'observer' to run (EDIT: from within the shell): observer:start(). debugger:start(). I get the following error: {error,{{load_driver,"No driver found"}, …
user11937
6
votes
3 answers

How can I use CMake to both build wxwidgets on-demand and link with it

I have the following situation: I'm working on an application that depends on a number of third party libs, among them wxwidgets I build the application for multiple target configurations (x86, arm, Linux, Windows) using Linux as my build host…
arillbert
  • 63
  • 1
  • 4
6
votes
3 answers

how to use wx.Slider with SELRANGE?

In the docs for wx.Slider (wxPython for py2, wxPython for py3, wxWidgets), there is listed a widget control named wx.SL_SELRANGE, defined to allow "the user to select a range on the slider (MSW only)". To me, this speaks of a twin-control, two…
r2evans
  • 141,215
  • 6
  • 77
  • 149
6
votes
1 answer

What to do when WxPerl class doesn't have some method?

I'm programming an application that uses WxPerl, but the Wx::Grid class is missing the method UseNativeColHeader. What can I do to call this method anyway? What about event? The event EVT_GRID_COL_SORT is not implemented either in WxPerl. Is there a…
user4373782
  • 113
  • 4
6
votes
2 answers

wxpython: How do I examine dragged data in OnDragOver?

I'm a bit perplexed by drag and drop in wxPython (but perhaps this questions pertains to drag and drop in other GUI frameworks as well). The frameworks provides a couple of callbacks (OnEnter and OnDragOver) that purportedly allow me to inform the…
Landon Kuhn
  • 76,451
  • 45
  • 104
  • 130
6
votes
8 answers

Cross-platform GUI language/toolkit

I am attempting to write a cross-platform GUI application that would be deployed to Windows, Mac OS X, and Linux. My requirements are: Single code base for all three deployment platforms, without a large amount of conditional logic for handling…
Jason Voegele
  • 1,918
  • 1
  • 19
  • 18
6
votes
1 answer

wxWidgets linking problem

I installed wxWidgets-2.8.10 following instructions from this page: http://wiki.wxwidgets.org/Compiling_and_getting_started Libraries directory: alex@alex-linux:/usr/local/lib$ ls | grep…
Alex F
  • 42,307
  • 41
  • 144
  • 212
6
votes
2 answers

How to construct simple wxWidgets image display

I wrote a wxPython program that I am translating to wxWidgets. The program has a scrolled window that displays an image. Following Rappin, wxPython In Action (Listing 12.1), I used a StaticBitmap within a panel. While surfing the latest wxWidgets…
Jive Dadson
  • 16,680
  • 9
  • 52
  • 65
6
votes
1 answer

How to change wx.Panel background color on MouseOver?

this code: import wx app = None class Plugin(wx.Panel): def __init__(self, parent, *args, **kwargs): wx.Panel.__init__(self, parent, *args, **kwargs) self.SetBackgroundColour((11, 11, 11)) self.name = "plugin" …
aF.
  • 64,980
  • 43
  • 135
  • 198