Search found 153 matches
- Wed Nov 23, 2005 12:44 pm
- Forum: C++ Development
- Topic: wxDatePickerCtrl showing time?
- Replies: 1
- Views: 737
- Mon Nov 07, 2005 9:18 am
- Forum: C++ Development
- Topic: automatic sorting in wxListCtrl
- Replies: 1
- Views: 831
- Tue Oct 25, 2005 6:18 am
- Forum: C++ Development
- Topic: wxFileHistory - placement in menu
- Replies: 4
- Views: 1537
No, You can put your own menu item and then associate this menu with wxFileHistory wxMenuBar *menu_bar = new wxMenuBar(); wxMenu *menu_file = new wxMenu(0); menu_bar->Append(menu_file, "&File") menu_file->Append(ID_1,"Load file","", wxItemNormal); menu_file->Append(ID_2,"Close file","", wxItemNormal...
- Thu Oct 13, 2005 7:13 am
- Forum: C++ Development
- Topic: How to change int to wxString?
- Replies: 3
- Views: 1229
When some function need string as parameter and I have int I use:
Regards
Bundy
Code: Select all
int my_int =5; //example
some_function(wxString::Format("%d",my_int));
Bundy
- Tue Oct 11, 2005 9:59 am
- Forum: C++ Development
- Topic: images with transparency?
- Replies: 17
- Views: 3437
- Tue Oct 11, 2005 7:32 am
- Forum: C++ Development
- Topic: images with transparency?
- Replies: 17
- Views: 3437
- Tue Oct 11, 2005 6:48 am
- Forum: C++ Development
- Topic: images with transparency?
- Replies: 17
- Views: 3437
- Mon Sep 26, 2005 10:20 am
- Forum: C++ Development
- Topic: What to do to know that user put valid number to wxSpinCtrl?
- Replies: 7
- Views: 1881
when program go to second line (wxString str = textctrl->GetValue()) I get error: Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a di...
- Mon Sep 26, 2005 9:26 am
- Forum: C++ Development
- Topic: What to do to know that user put valid number to wxSpinCtrl?
- Replies: 7
- Views: 1881
- Mon Sep 26, 2005 8:51 am
- Forum: C++ Development
- Topic: What to do to know that user put valid number to wxSpinCtrl?
- Replies: 7
- Views: 1881
- Mon Sep 26, 2005 7:49 am
- Forum: C++ Development
- Topic: What to do to know that user put valid number to wxSpinCtrl?
- Replies: 7
- Views: 1881
What to do to know that user put valid number to wxSpinCtrl?
Hej all, On windows it is simple - I can use EVT_SPIN_UP/DOWN. But on linux it not working :( My problem is complex - I need do two things. First I need to prevent user from putting invalid value to wxSpinCtrl, and when user put wrong value I want generate error and put previous value into SpinCtrl ...
- Mon Sep 26, 2005 6:47 am
- Forum: C++ Development
- Topic: displaying items with wxLC_VIRTUAL
- Replies: 11
- Views: 3591
- Fri Sep 23, 2005 11:47 am
- Forum: C++ Development
- Topic: displaying items with wxLC_VIRTUAL
- Replies: 11
- Views: 3591
I don't exactly know what You want to do, but I use virtual listctrl. I derived class wxListCtrl, and define my getItemText functions: wxString MyListCtrl::OnGetItemText(long item, long column) const { return wysColumn[column][item]; } where wysColumn is a wxArrayString (exactly table of wxArrayStri...
- Thu Sep 22, 2005 11:00 am
- Forum: C++ Development
- Topic: Big CalenderCtrl?
- Replies: 3
- Views: 1291
- Fri Sep 16, 2005 1:53 pm
- Forum: C++ Development
- Topic: How convert wxString to unsigned char *
- Replies: 10
- Views: 2064