I think u can try to install this:
https://sourceforge.net/project/showfil ... p_id=95606
i hope it will help u!
Search found 37 matches
- Tue Mar 28, 2006 2:02 pm
- Forum: wxDev-C++
- Topic: "Cannot open include file 'wx/wx.h' No such file...&
- Replies: 13
- Views: 24286
- Tue Mar 28, 2006 10:26 am
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
- Mon Mar 27, 2006 10:43 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
after an entire afternoon... i read with attention ur post... and i write this working code: class MyStringClass: public wxString { public: template <class T> bool From_String(T &aValue, const std::string &aStr); template <class T> std::string To_String(T aValue); MyStringClass &operator + (const My...
- Mon Mar 27, 2006 6:14 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
but... i have to add also: void OnButtonAdd(wxCommandEvent& event); in this new class? but is it possibile? this function is linked to a wxButton in the frame... is it correct for the moment? class MyStringClass: public wxString { public: template <class T> int operator+( int i); template <class T> ...
- Mon Mar 27, 2006 5:03 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
thanks to everyone for ur answsers... after 18 hours of work on my code without sleep :( i did this: class Frame_Principale : public wxFrame { private: DECLARE_EVENT_TABLE(); Frame_Principale &operator+(const Frame_Principale &a); std::string numero1; std::string numero2; double b, c; ... ... ... pu...
- Mon Mar 27, 2006 2:04 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
i know how to overload an operator in c++, but i'm not able to understand how to do this with wxwidgets... (i'm a stupid because i should do a program only with c++ and not with wxwidgets, time elapsed and now i can't write again another prog only in c++, so i would like to finish this by adding thi...
- Sun Mar 26, 2006 11:22 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
damn! :( i'm sorry i'm not able to explain what i want to do in English :( i try to explain better what i want to do... i realized that u have reason: You are trying to declare an operator + on a frame !!! What does adding 2 frames mean? it has no sense... i don't want to do this! :( the problem is ...
- Sun Mar 26, 2006 9:30 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
thanks a lot for ur answer! yes, the code is in a frame/window dialog... i did this: class Project1Frm : public wxFrame { private: DECLARE_EVENT_TABLE(); Project1Frm &operator+(Project1Frm &a); public: .... .... Project1Frm &Project1Frm::operator+(Project1Frm &a) { return *this; } devcpp compiles th...
- Sun Mar 26, 2006 4:38 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
i tried with: wxString operator+(const wxString& x, wxChar y){ wxString s = x; s += y+2; return s; } but it says: C:/Dev-Cpp/lib/libwxmsw26.a(monolib_string.o):string.cpp:(.text+0x2be0): multiple definition of `operator+(wxString const&, char)' Project1Frm.obj:Project1Frm.cpp:(.text+0x5c60): first d...
- Sun Mar 26, 2006 3:38 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
- Sun Mar 26, 2006 3:01 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
- Sun Mar 26, 2006 12:59 pm
- Forum: C++ Development
- Topic: Send E-mails with C++ and Devcpp
- Replies: 21
- Views: 5709
- Sun Mar 26, 2006 1:21 am
- Forum: C++ Development
- Topic: Send E-mails with C++ and Devcpp
- Replies: 21
- Views: 5709
i included these files on my project: #include <wx/wxsmtp.h> #include <wx/wxsmtp_version.h> #include <wx/wxbase64.h> #include <wx/wxcmdprot.h> #include <wx/wxemail.h> #include <wx/wxmime.h> #include <wx/wxstates.h> and i use this code: wxSMTP *smtp = new wxSMTP(NULL); smtp->SetHost("smtpserver.domai...
- Sat Mar 25, 2006 11:41 pm
- Forum: wxDev-C++
- Topic: Overload operator+
- Replies: 16
- Views: 3074
Overload operator+
Hi! I use my code to sum some numbers and to display the result in a wxTextCtrl, i use a template to manage different kind of data... and i sum the values with: std::string S1; S1 = Text1->GetValue(); std::string S2; S2 = Text2->GetValue(); int I1, I2; if(FromString(I1, S1) && FromString(I2, S2)) //...
- Sat Mar 25, 2006 10:29 am
- Forum: wxDev-C++
- Topic: [SOLVED] printing the content of wxTextCtrl
- Replies: 9
- Views: 2379