Search found 10 matches

by giovesas
Thu Dec 17, 2009 5:05 pm
Forum: Platform Related Issues
Topic: wxDialog on xfce
Replies: 0
Views: 331

wxDialog on xfce

I have developed an user interface with wxWidgets 2.8.10. It's work correctly on linux (openSuse 11.2) with kde4, and it was OK in openSuse 11.1 also with xfce. With openSuse 11.2 and xfce 4.6.1 all seems OK except for wxDialog opened in non modal way. m_Dlg=new wxDialog(.....); m_Dlg->Show(); The d...
by giovesas
Thu May 07, 2009 6:01 am
Forum: Component Writing
Topic: how to get RETURN in a derived wxOwnerDrawnComboBox with GTK
Replies: 5
Views: 1485

Normally I use the online doc http://docs.wxwidgets.org/trunk/classes.html that is more detailed, also if I'm working with the 2.8 version. In the wxComboCtrl windows styles description I found that it's windows only. In the farmer documentation no mention about, but it doesn't work (or I made some ...
by giovesas
Wed May 06, 2009 8:53 am
Forum: Component Writing
Topic: how to get RETURN in a derived wxOwnerDrawnComboBox with GTK
Replies: 5
Views: 1485

Thanks for the reply. Now I'll try the suggested solution. The on line documentation says # wxTE_PROCESS_ENTER: The control will generate the event wxEVT_COMMAND_TEXT_ENTER (otherwise pressing Enter key is either processed internally by the control or used for navigation between dialog controls). Wi...
by giovesas
Tue May 05, 2009 9:10 am
Forum: Component Writing
Topic: how to get RETURN in a derived wxOwnerDrawnComboBox with GTK
Replies: 5
Views: 1485

how to get RETURN in a derived wxOwnerDrawnComboBox with GTK

I derived an object from wxOwnerDrawnComboBox. It's a combo that can be edited. But I cannot get the EVT_TEXT_ENTER event when RETURN is pressed.
The DOC says that the wxTE_PROCESS_ENTER is valifd only for WINDOWS.
Any suggetion to solve this problem?
by giovesas
Tue Nov 11, 2008 3:08 pm
Forum: C++ Development
Topic: wxListBox SetSelection with GTK
Replies: 0
Views: 249

wxListBox SetSelection with GTK

The project is on linux with GTK and gcc 4.2. The wxListBox::SetSelection(n) works fine if you don't change the listbox defaults colours with SetForeground/BackgroundColour() functions. If you do that after Create of the listbox, the SetSelection works logically correct: if you use GetSelection() it...
by giovesas
Sun Oct 26, 2008 8:24 am
Forum: C++ Development
Topic: DLL with wxwidgets
Replies: 3
Views: 658

If I understand you correctly, you suggest to modify the program calling the DLL.
But the main program (the one calling the DLL) is a third part sw, and it cannot be modified.
For this reason the solution must be found in the DLL itself.
by giovesas
Fri Oct 24, 2008 2:39 pm
Forum: C++ Development
Topic: DLL with wxwidgets
Replies: 3
Views: 658

I got the solution. Only to close the topic: With this function (valid only for __WXMSW__ wxWidgets) I can have the hwnd of the basic application. and I use it in the setHWNND function. HWND GetAncestorHwnd(HWND win) { HWND w=win; HWND hWND=GetParent(w); while(hWND) { w=hWND; hWND=GetParent(w); } re...
by giovesas
Thu Oct 23, 2008 3:04 pm
Forum: C++ Development
Topic: DLL with wxwidgets
Replies: 3
Views: 658

DLL with wxwidgets

I'm developing a wxWidgets DLL from a previous MFC one. It works fine if it's called from a program using wxWidgets, both in win and linux. But I have to interface this dll also to a couple of third part programs built on win (one with MFC, a second with BORLAND). Then I discovered that I have to de...
by giovesas
Tue Sep 30, 2008 4:15 pm
Forum: C++ Development
Topic: wxImageList difference from gtk and msw
Replies: 3
Views: 399

That was my idea, but I don't know where to go.
Could you please give me the address?
Thanks
by giovesas
Mon Sep 29, 2008 7:20 am
Forum: C++ Development
Topic: wxImageList difference from gtk and msw
Replies: 3
Views: 399

wxImageList difference from gtk and msw

I'm developing an application running in Win and Linux using wxWidgets. I found a difference in the wxImageList class. i'm using wxTreeCtrl to show configuration informations. I load different multiple bitmaps in a image list. When I compile in windows, the function wxImageList::Add return the corre...