Search found 25 matches

by ddv
Thu Apr 12, 2007 2:26 pm
Forum: C++ Development
Topic: control cell attributes from wxGridTableBase descendant
Replies: 5
Views: 385

return wxGridTableBase::GetAttr(row,col); I don't which version of wx you are using. I am on 2.6.3 and there is a bug in the doc which says: wxGridCellAttr* GetAttr(int row, int col) when in fact in the sources: wxGridCellAttr* GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) You need to ...
by ddv
Thu Apr 12, 2007 2:20 pm
Forum: C++ Development
Topic: wxListCtrl, setting state
Replies: 3
Views: 524

SetState ? You mean SetItemState I guess.

Code: Select all

SetItemState(item, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
[/code]
by ddv
Tue Jan 09, 2007 10:46 am
Forum: C++ Development
Topic: MS Excel table behavior using wxGrid or wxGridBagSizer
Replies: 3
Views: 383

Ok, I have tested and this fits perfectly to my needs, thanks again :wink:
by ddv
Tue Jan 09, 2007 9:12 am
Forum: C++ Development
Topic: MS Excel table behavior using wxGrid or wxGridBagSizer
Replies: 3
Views: 383

Thanks for the answer, I didn't know this extra component :wink:
by ddv
Mon Jan 08, 2007 3:41 pm
Forum: C++ Development
Topic: MS Excel table behavior using wxGrid or wxGridBagSizer
Replies: 3
Views: 383

MS Excel table behavior using wxGrid or wxGridBagSizer

Hi! I need a control like wxGrid but with the possibility to merge some cells (this can be done with wxGridBagSizer but not in wxGrid) AND resize individual columns and rows (these can be done in wxGrid but not with wxGridBagSizer). With wxGridBagSizer, I cannot understand how to resize the cells in...
by ddv
Tue Dec 19, 2006 5:10 pm
Forum: C++ Development
Topic: Error loading multi page tiff with wxImage
Replies: 5
Views: 844

Ok, using wxWidgets 2.8.0 and external libtiff 3.8.2, every TIFF works :)

But using wxWidgets 2.8.0 with included libtiff is not enough.

Thanks all.

Note: it would be great for the maintainer of wxWidgets to update the included libtiff version.
by ddv
Tue Dec 19, 2006 2:33 pm
Forum: C++ Development
Topic: Error loading multi page tiff with wxImage
Replies: 5
Views: 844

How do you compile wxWidgets? I use Mingw/msys and having installed libtiff before compiling wxWidgets makes it use the external (recent) one, not the enclosed sources. As far as I know, Ms visual studio 7.1 is used, and libtiff enclosed sources are used, not external ones. I will try new wxWidgets...
by ddv
Tue Dec 19, 2006 2:31 pm
Forum: C++ Development
Topic: Error loading multi page tiff with wxImage
Replies: 5
Views: 844

wxWidgets comes with a really old version of libtiff. I don't think it's old enough that it's missing any new tiff features (when was the last one added?), but it may have some bugs causing this that have since been fixed in newer versions of libtiff. You could try to update the sources in wxWidget...
by ddv
Mon Dec 18, 2006 5:07 pm
Forum: C++ Development
Topic: compare ...wxImage or wxBitmap
Replies: 3
Views: 702

I would say that you have to compare the data returned by wxImage::GetData().
Either byte per byte if you have only 2 images to compare, or using a MD5 like algorithm if you have several images to compare.
by ddv
Mon Dec 18, 2006 4:52 pm
Forum: C++ Development
Topic: Error loading multi page tiff with wxImage
Replies: 5
Views: 844

Error loading multi page tiff with wxImage

Hello folks! I have errors when loading multi page TIFFs using wxImage: some are successfully loaded but most generate some errors or warnings. The number of pages in these TIFFs varies from 2 to 13. For example, an image with 13 pages generates these errors: - tiff module: image - Integer overflow ...