Search found 7 matches

by qarantena
Sun Aug 09, 2009 5:49 pm
Forum: C++ Development
Topic: Cathing values from controls
Replies: 2
Views: 851

I have stored the sizer as a class member class ParametresDialog : public wxDialog { DECLARE_DYNAMIC_CLASS( ParametresDialog) public: wxString From, To; wxBoxSizer* topSizer; wxBoxSizer* boxSizer ; wxBoxSizer* RuleBoxEVT; wxBoxSizer* RuleBox1; wxBoxSizer* RuleBox2; . . . }; and attached RuleBoxEVT t...
by qarantena
Fri Aug 07, 2009 2:49 pm
Forum: C++ Development
Topic: Cathing values from controls
Replies: 2
Views: 851

Cathing values from controls

I'm making a GUI for a program. The dialog should enable the user to give several conditions for overwriting, e.g. FROM 0 TO 01 FROM 1 TO 10 So far, I have created a dialog with two couples of one wxSpinCtrl( for setting the FROM string) and wxTextCtrl (for filling TO string). But I dont know how to...
by qarantena
Mon Jul 13, 2009 1:46 pm
Forum: C++ Development
Topic: Draw a tree
Replies: 7
Views: 3873

Hi! There is no such class/control in wxWidgets. However, in the 2.4 branch there used to be wxTreeLayout. I salvaged this class from the SVN repo and hacked a small application that basically does what you want. It sure looks ugly and only resembles the sample app for wxTreeLayout that came with 2...
by qarantena
Mon Jul 13, 2009 10:16 am
Forum: C++ Development
Topic: Draw a tree
Replies: 7
Views: 3873

The tree should be something like
by qarantena
Sun Jul 12, 2009 6:33 pm
Forum: C++ Development
Topic: Draw a tree
Replies: 7
Views: 3873

vdell wrote:Is this question wxWidgets specific?
Sorry, I dont understand what you mean.
by qarantena
Sun Jul 12, 2009 11:00 am
Forum: C++ Development
Topic: Draw a tree
Replies: 7
Views: 3873

Draw a tree

Hello, I have a code in c++ which builds a tree structure (it is a forest in fact because the tree has several roots). I need to draw the tree ( using rectangles for each list with the number stored in the list placed in the middle of the rectangle + lines ). I dont know how to do it. Where to place...
by qarantena
Sun Jul 12, 2009 8:48 am
Forum: wxDev-C++
Topic: wxEventTable does not name a type
Replies: 0
Views: 888

wxEventTable does not name a type

Could you please advice me why this error occurs? main.cpp #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "wx/filedlg.h" #include "wx/statline.h" #include "dialogs.h" #include "main.h" #if defined(__W...