Search found 54 matches
- Thu Jul 12, 2007 1:52 pm
- Forum: C++ Development
- Topic: Add new type question about PropertyGrid
- Replies: 3
- Views: 925
Unfortunately, adding custom value types to wxPropertyGrid 1.2.x is a somewhat complex ordeal (version 1.3, in SVN, improves this significantly). For instance, you also need to create a new property class that uses the value type. Probably the easiest way to deal with this kind of scenario is to sim...
- Thu Jan 25, 2007 3:59 pm
- Forum: C++ Development
- Topic: wxPropertyGrid crash (bug, trouble, destroying)
- Replies: 8
- Views: 2095
I'm unable to reproduce the crash by copy-pasting (most of) your code in a minimal sample. I use different compiler (VC7) but that's probably not it. Did you check if it crashes when you replace wxPropertyGrid with another control (say, wxListBox)? Also, did you try to use Close instead of Destroy? ...
- Tue Jan 23, 2007 8:32 pm
- Forum: C++ Development
- Topic: wxPropertyGrid crash (bug, trouble, destroying)
- Replies: 8
- Views: 2095
- Mon Jan 22, 2007 3:23 pm
- Forum: C++ Development
- Topic: wxPropertyGrid crash (bug, trouble, destroying)
- Replies: 8
- Views: 2095
- Sat Jan 06, 2007 12:55 pm
- Forum: C++ Development
- Topic: wxPropertyGrid problem
- Replies: 4
- Views: 1772
Ok, I have now changed SetPropertyValue to refresh parent as well. Try the latest development snapshot.
- Thu Jan 04, 2007 7:33 pm
- Forum: C++ Development
- Topic: Custom properties with wxPropGrid
- Replies: 2
- Views: 1345
Re: Custom properties with wxPropGrid
Ideally, the user would have to choose the date on a calendar (wxCalendarCtrl). I have seen there is a wxDateProperty, but, in the example I have, it does not use a calendar. To use the date picker control, you need to define wxPG_ALLOW_WXADV for wxPropertyGrid and all projects using it. Perhaps th...
- Thu Jan 04, 2007 7:18 pm
- Forum: C++ Development
- Topic: wxPropertyGrid problem
- Replies: 4
- Views: 1772
- Sat Dec 16, 2006 3:14 pm
- Forum: C++ Development
- Topic: wxPropertyGrid compiling error
- Replies: 3
- Views: 1329
IIRC the oldest version of GCC which I used to compile wxPropertyGrid with wxPython bindings was GCC 3.4.2, so there is good chance the this problem is caused by your relatively old compiler version. However, to eliminate the possibility that the SWIG is somehow accidentally defined, add code like t...
- Sat Dec 16, 2006 2:21 pm
- Forum: C++ Development
- Topic: wxPropertyGrid compiling error
- Replies: 3
- Views: 1329
- Mon Oct 30, 2006 9:12 am
- Forum: C++ Development
- Topic: wxComboBox flickering.
- Replies: 5
- Views: 1650
For Windows XP, you could try using WS_EX_COMPOSITED, using something like this:
Code: Select all
#if defined(__WXMSW__)
HWND hWnd = (HWND)comboBox->GetHWND();
::SetWindowLong( hWnd, GWL_EXSTYLE,
::GetWindowLong(hWnd, GWL_EXSTYLE) | WS_EX_COMPOSITED );
#endif
- Mon Oct 16, 2006 9:22 am
- Forum: C++ Development
- Topic: wxValidator question
- Replies: 1
- Views: 1004
Re: wxValidator question
Hi, Why we get the validator of child control and validate the value of parent control? if ( validator && !validator->Validate((wxWindow *)this) ) This means that we pass wxFrame to the validator of text control. Actually, the argument of Validate is 'parent', which is used, for instance, wi...
- Thu Sep 21, 2006 5:36 pm
- Forum: Open Discussion
- Topic: Microsoft Virtual PC 2004 is free // use for Linux testing
- Replies: 12
- Views: 5183
- Thu Sep 21, 2006 11:00 am
- Forum: Open Discussion
- Topic: Microsoft Virtual PC 2004 is free // use for Linux testing
- Replies: 12
- Views: 5183
- Fri Sep 15, 2006 5:38 am
- Forum: Announcements and Discoveries
- Topic: ANN : Enhanced wxTreeListCtrl
- Replies: 44
- Views: 25496
I think modifiying the existing code to use wxBufferedPaintDC should require lot of changes in lot of places. If you have time, can you please have a look the control and suggest where I can use the wxBufferedPaintDC ? If so, I can send my modified copy that uses mouse move event to paint the heade...
- Sat Sep 09, 2006 10:42 am
- Forum: C++ Development
- Topic: Query Regarding Focusing windows
- Replies: 8
- Views: 1782