Search found 91 matches
- Wed Sep 03, 2008 8:50 am
- Forum: The Code Dump
- Topic: GUI2Data
- Replies: 6
- Views: 4281
sounds good. just a last question ;-) is it possible to compare functor, to achieve something like that ? template<class functor, class event> class GUI2Data : public wxEvtHandler { functor f; public: GUI2Data() {} GUI2Data(functor f):f(f) { } void Setfunctor(functor func) { f = func; } void OnSendD...
- Wed Sep 03, 2008 8:25 am
- Forum: The Code Dump
- Topic: GUI2Data
- Replies: 6
- Views: 4281
- Tue Sep 02, 2008 3:27 pm
- Forum: The Code Dump
- Topic: GUI2Data
- Replies: 6
- Views: 4281
- Sat Jun 28, 2008 10:29 am
- Forum: C++ Development
- Topic: wxInputStream::GetC() problem in unicode
- Replies: 0
- Views: 753
wxInputStream::GetC() problem in unicode
Hi, when i try to use the following method to read an ASCII formated file the result is an UTF-8 encoded wxString instead of a normal unicode string. When i use wxTextInputStream::Readline() the string is correctly, but wxTextInputStream is very slow and i have to parse large files (>200mb). bool Qu...
- Thu Apr 03, 2008 9:09 am
- Forum: Announcements and Discoveries
- Topic: wxWidgets 2.8.4 crash with gtk 2.12
- Replies: 0
- Views: 903
wxWidgets 2.8.4 crash with gtk 2.12
We discovered that many dialogs (eg. wxSingleChoiceDialog) crash in wxWidgets 2.8.4 with gtk versions newer than 2.11.
This bug has been fixed with the SVN revision 46513 and wxWidgets 2.8.5.
You can validate this bug by compiling samples/dialogs and open the SingleChoiceDialog.
This bug has been fixed with the SVN revision 46513 and wxWidgets 2.8.5.
You can validate this bug by compiling samples/dialogs and open the SingleChoiceDialog.
- Sat Mar 22, 2008 11:57 pm
- Forum: The Code Dump
- Topic: Running wxWidgets app as a windows service
- Replies: 19
- Views: 52106
- Wed Mar 05, 2008 8:58 am
- Forum: C++ Development
- Topic: Drawing on a transparent Fullscreen Dialog
- Replies: 1
- Views: 967
Drawing on a transparent Fullscreen Dialog
I have created a wxDialog and use SetFullscreen(true) and SetTransparent(0), to make a transparent fullscreen window. Now i try to draw a rectangle on it. <code> void myClass::OnPaint(wxPaintEvent &event) { wxPaintDC dc(this); wxBrush brush(255,0,0), dc.SetBrush(brush); dc.DrawRectangle(0,0,400,...
- Wed Oct 10, 2007 8:42 am
- Forum: C++ Development
- Topic: wxTreeCtrl bug in wxMSW 2.8.6 (Vista)
- Replies: 0
- Views: 696
wxTreeCtrl bug in wxMSW 2.8.6 (Vista)
I've compiled wxMSW and its Samples in Windows Vista.
The wxTreeCtrl example has a problem with the multiple selections.
-- Ctrl+MouseClick doesn't select the item.
-- Shift+MouseClick doesn't include the "currently selected" item into the selection.
Anyone has an idea how to fix this ?
The wxTreeCtrl example has a problem with the multiple selections.
-- Ctrl+MouseClick doesn't select the item.
-- Shift+MouseClick doesn't include the "currently selected" item into the selection.
Anyone has an idea how to fix this ?
- Mon Jul 30, 2007 12:06 pm
- Forum: Component Writing
- Topic: wxAUIMod
- Replies: 2
- Views: 2155
- Thu Jun 28, 2007 2:11 pm
- Forum: Component Writing
- Topic: wxAUIMod
- Replies: 2
- Views: 2155
wxAUIMod
Huge has released a bunch of mods to the wxAUI frame management code. These mods are designed to do a few things. Provide "Auto Notebooks", allowing you to drop panes on top of other panes to create notebooks. Provide MDI Child frame support. Allow windows to be placed in frames other than...
- Wed Jun 06, 2007 2:08 pm
- Forum: C++ Development
- Topic: wxAuiNotebook problem
- Replies: 2
- Views: 1628
I'm using wxMSW 2.8.4 and the solution is to add:
before
in
Code: Select all
tab_frame->m_tabs = NULL;
Code: Select all
delete tab_frame;
Code: Select all
wxAuiNotebook::RemoveEmptyTabFrames()
- Tue Jun 05, 2007 9:21 am
- Forum: C++ Development
- Topic: wxAuiNotebook problem
- Replies: 2
- Views: 1628
wxAuiNotebook problem
I'm using wxAui in an MDI application with the undocumented classes wxAuiMDIParentFrame, wxAuiMDIChildFrame and wxAuiMDIClientWindow. New documents will be opened in the wxAuiMDIClientWindow which is derived from the wxAuiNotebook. This works fine so far. I can open and close a much documents as i w...
- Fri May 04, 2007 8:55 pm
- Forum: C++ Development
- Topic: wxAui with mdi doc/view framework problem
- Replies: 6
- Views: 2289
I don't understand russian. But this was quite helpfull for me.
http://wxwidgets.info/?q=wxaui_tutorial_2_ru
http://wxwidgets.info/?q=wxaui_tutorial_2_ru
- Thu Mar 22, 2007 12:54 pm
- Forum: C++ Development
- Topic: wxSockets hell
- Replies: 10
- Views: 2694
- Thu Mar 22, 2007 12:25 pm
- Forum: C++ Development
- Topic: wxSockets hell
- Replies: 10
- Views: 2694
The SetEventHandler() is defined in the ctor of my client frame. // Create the socket m_sock = new wxSocketClient(); // Setup the event handler and subscribe to most events m_sock->SetEventHandler(*this, SOCKET_ID); m_sock->SetNotify(wxSOCKET_CONNECTION_FLAG | wxSOCKET_INPUT_FLAG | wxSOCKET_LOST_FLA...