Search found 3 matches

by Starosta
Thu Nov 03, 2011 7:05 pm
Forum: General Development
Topic: double array - dynamic allocation
Replies: 3
Views: 2010

Re: double array - dynamic allocation

I unnecessarily paste all piece of code with "wxMessageBox..." and I complicate it.
Auria understood me correctly.

Thanks for reply.
by Starosta
Thu Nov 03, 2011 10:01 am
Forum: General Development
Topic: double array - dynamic allocation
Replies: 3
Views: 2010

double array - dynamic allocation

Hello Please tell me what is wrong in this code. Why I can't dynamically allocate array // m_arrdProdukcja <- wxArrayDouble m_arrdProdukcja; wxMessageBox(wxString::Format(wxT("%d"),m_arrdProdukcja.GetCount())); // == 2 double* arrdProdukcja = new double[m_arrdProdukcja.GetCount()]; wxMessageBox(wxSt...
by Starosta
Tue Aug 24, 2010 12:32 pm
Forum: Database Related
Topic: Can't take data from table
Replies: 3
Views: 4567

Can't take data from table

Hi I have problem with this code. class gtTreeCtrl : public wxTreeCtrl { private: wxDbTable* m_RootDbTable; wxDbTable* m_ChildrenDbTable; public: gtTreeCtrl(){}; gtTreeCtrl(wxWindow *parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style); virtual ~gtTreeCtrl (){}; void SetR...