wxwidgets

Cannot get a proper Vista / 7 theme for toolbar with wxWidgets

Hi, I cannot get a proper theme for toolbars in Vista / 7 with wxWidgets (c++). For some unknown reason, I get gray bar now (as you can see here). I want it to get this look instead. I've linked against comctl32.lib (=> 5.82) and UXTHEME is on. Here's the code: #include <wx/wx.h> class TestAppFrame: public wxFrame { public: ...

How to do drag & drop with wxWidgets module of Python?

Hello, I'm using Python and I want to do a drag & drop interface. For example, with a large picture whose size is bigger then the screen, I want to click on it and drag it to see other parts. Something like "google maps"! In google maps if we click two times we do "zoom" but if we click one time and while pressed, we move the mouse, we...

How to incorporate DRAG feature in wxPython

I want to incorporate DRAG feature in program where in I can drag (hand cursor) the canvas which is placed on a panel. DRAG feature will help me see a full picture if the image is out of bound on the axis or if the image is zoomed in. Currently I am using wxmpl library which is a integration of matplotlib and wxPython. but it seems like...

Is a single wxWidgets MSW application binary compatible across Win2K, XP, Vista, and 7?

wxWdgets is a cross-platform library that includes support for all the major windows versions, but I can't find anywhere in the wxWidgets documentation that says anything about the portability of a single MSW (windows) build of the wxWidgets library across different windows versions. Assuming my core app just uses vanilla C++ (and perh...

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 documentation, I found a dire warning that wxStaticBitmap should only be used for very sm...

Any working example of compiling a DLL in wxWidgets

I have found some examples of how to compile a DLL in wxWidgets but none of them compile in wxWidgets 2.8.9 Examples, such as, http://wiki.wxwidgets.org/Creating_A_DLL_Of_An_Application (here some of the download links don't even work, such as, http://www.frogmorecs.com/dl/fromdll.zip). Even the code at this forum http://wxforum.shadone...

Recommended guidelines on moving from wxWidget to QT

I have a project that uses the wxwidget toolkit (wxThread, wxString, wxEvent, wxDateTime, wxLog etc). I am in the process of moving over to QT. I am a little daunted by the task, and thought its best to come in here to ask those that may have carried out such an operation before. Do I: take a more measured approach (replace one clas...

Installing more than one active variant using macports

I am using macports to install wxWidgets. I would like both the release and debug version of the library installed I used macports to install the release version by running sudo port install wxwidgets, and then used sudo port install wxwidgets +debug to install the debug variant. When I run port installed wxwidgets, it shows them both...

How to make '3 part' splitter window in wxWidets?

I want to create 3 parts in a window or panel. Parts should have possibility to resize by user and be automatically resized when user change size of main window. Its something like 3 panels added to vertical box sizer, but user can resize all of three parts. I can add up to 2 panels to wxSplitterWindow. Im working with C++, wxWidgets an...

wxPython Application.DoEvents() equivalent?

Is there an Application.DoEvents() equivalent in wxPython? I am creating a form, then doing a slow I/O event, and the form is only partially drawn until the event finishes. I'd like to have the form fully drawn before the I/O starts. I've tried self.Refresh(), but it has no effect. ...

Error handling in wxWidgets

Could someone provide info about error-handling in wxWidgets or a pointer to documentation? Specifically, I discovered this behavior: I try to create a wxImage from a file. This is in an event-handler. The file is not present. The call to the image constructor does not throw an exception. (I understand that no wxWidgets code throws...

How to know when a wxFrame is closed?

Hello. I have a wxDialog where I open a wxFrame. Now I want to know when the wxFrame is closed, so I can do something in the Dialog caller [on the frame I modify a list which is present too in the dialog, and I need to update this (with a function provided by me)]. Any Ideas? I'm using C++ with wxWidgets 2.8-10 Here is the code of the ...

wxcombobox as wxdataview editor

Hi folks. Hope this wxwidgets question is welcome here. Im trying to use a wxcombobox as a wxdataview editor. The code runs well but the editor is shown for less than half a second then it vanishes. Has anyone hacked this one succesfully? ...

wxWidgets and context menus

I'm trying to add context menus into a (large) custom control in my application but have run into a number of issues with when to create them. There are 3 cases when a context menu needs to be created (unless I forgot one...) on a right mouse click, when the menu key is pressed and for Shift + F10. In all cases the menu is created and d...

Recommend crossplatform C++ UI and networking libraries

Things to take into consideration: - easy to use - fast - use underlying OS as much as feasable (like wxWidgets for UI) Ones I am leaning towards are wxWidgets for UI and Boost for networking - how do they compare to others? ...

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 wx libwx_base-2.8.a libwx_base_net-2.8.a libwx_base_xml-2.8.a libwx_gtk2_adv-2.8.a libwx_gtk2_aui-2.8.a libwx_gtk2_core-2.8.a libwx_gtk2_html-2.8.a ...

embedded browser using XULRunner

Are there any examples of to use XULRunner to embed the browser control inside a app? (preferably in c or c++ for native win32 apps) I have tried QT, wxWidgets, Awesomium, chrome embedded, LLmozLib, midori and Embedding/NewApi/Win32 The best one is wxWebConnect (which is part of wxWidgets framework). Why, cause you don't need the whole...

On wxWidgets Mac version (wxMac) where is the setup.h file I need to modify?

I can't seem to find the right version of setup.h that gets used when building with ../configure, make. What directory is it? There seems to be tons of variations but I change them and the changes aren't used. Help. ...

Tooltips for wxAuiNoteBook Tabs?

I find it difficult to control detailed behavior of wxwidgets auinotebooks. There seems no "SetTabToolTip" method for any tab (not the page). Setting the tooltip for the whole notebook doesn't work for tabs. After several days of googling, no valuable result found... Any hint? ...

MinGW/G++/g95 link problem - libf95 undefined reference to `MAIN_'

Hi folks, Summing up, my problem consists on compiling g95 objects inside a C++ application. Actually, I'm constructing an interface for an old fortran program. For this task, I'm using the wxWidgets GUI library, and calling fortran subroutines when necessary. At the beginning, I was developing the entire project compiling my fortran fi...