Search found 13 matches

by sjnc.puzzle
Tue Jul 05, 2011 9:19 pm
Forum: C++ Development
Topic: wxListCtrl column width
Replies: 1
Views: 945

Re: wxListCtrl column width

I had been using Show() and Hide() for the wxListCtrl like the sample program had. I should have been using Freeze() and Thaw(). Changing to these, all work as expected.
by sjnc.puzzle
Tue Jul 05, 2011 5:18 pm
Forum: C++ Development
Topic: wxListCtrl column width
Replies: 1
Views: 945

wxListCtrl column width

I have a wxListCtrl using style wxLC_LIST. I am at the latest SVN level. My List has some strings that are wide, one string is 24 characters. Only the Linux build of my application, the column is automatically resized to display the full string. This works as I expect. However on the Windows build o...
by sjnc.puzzle
Fri Jul 01, 2011 6:25 pm
Forum: C++ Development
Topic: wxTreeCtrl scroll problem
Replies: 2
Views: 1449

Re: wxTreeCtrl scroll problem

I submitted a ticket on this problem, and extremely quickly, it was fixed in the latest SVN level.

-- Scott
by sjnc.puzzle
Thu Jun 30, 2011 9:24 pm
Forum: Compiler / Linking / IDE Related
Topic: VC10 and 2.0-SVN version
Replies: 1
Views: 1031

Re: VC10 and 2.0-SVN version

I used the vc9 solution that came with the SVN release. That converted to VC10 without any problems. My links work.
by sjnc.puzzle
Thu Jun 30, 2011 8:32 pm
Forum: Compiler / Linking / IDE Related
Topic: VC10 and 2.0-SVN version
Replies: 1
Views: 1031

VC10 and 2.0-SVN version

Previously I had compiled 2.9.1 ok on VC++ version 10 using the wx_vc10 solution that somebody pre-built. And linked my program in and ran it. Moving to 2.9 SVN version, the wxWidgets code builds okay. But when I link my code I get a lot of unresolved linker error messages now. If somebody has built...
by sjnc.puzzle
Wed Jun 29, 2011 10:39 pm
Forum: C++ Development
Topic: wxTreeCtrl scroll problem
Replies: 2
Views: 1449

Re: wxTreeCtrl scroll problem

A bit more information. It appears after the SetScrollbars() call, there is an event for wxEVT_SCROLLWIN_LINEDOWN which is processed in the scrlwing.cpp code. So the SetScrollbars() sets the current position, and the the event causes the extra down scroll. I have no clue where the event is coming fr...
by sjnc.puzzle
Wed Jun 29, 2011 7:06 pm
Forum: C++ Development
Topic: wxTreeCtrl scroll problem
Replies: 2
Views: 1449

wxTreeCtrl scroll problem

I just recently went to the latest SVN level. Previously I was using 2.9.1 from the downloads page. I am running on Linux. Below I have appended a program that displays a tree scrolling problem I am having. This did not occur in 2.9.1, only the latest SVN level. I want to scroll a wxTreeCtrl based o...
by sjnc.puzzle
Tue Jun 28, 2011 8:46 pm
Forum: C++ Development
Topic: wxHelp Help
Replies: 4
Views: 1606

Re: wxHelp Help

doublemax wrote:First of all, please try with the latest wxWidgets version from SVN or from a daily snapshot, the 2.9.1 from the download page is almost a year old.
The SVN snapshot did not have the problem. Thanks again for your help.
by sjnc.puzzle
Tue Jun 28, 2011 4:52 pm
Forum: C++ Development
Topic: wxHelp Help
Replies: 4
Views: 1606

Re: wxHelp Help

I'll get the latest from the SVN page as you suggested.
To get the problem, I simply start the program.
by sjnc.puzzle
Tue Jun 28, 2011 4:06 pm
Forum: C++ Development
Topic: wxHelp Help
Replies: 4
Views: 1606

Re: wxHelp Help

A bit more information. I get the same assertion messages, ./include/wx/strvararg.h(449): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type when I run the help program from the samples directory...
by sjnc.puzzle
Thu Jun 23, 2011 6:05 pm
Forum: C++ Development
Topic: wxListCtrl, how to simply hide items for filtering
Replies: 6
Views: 5104

Re: wxListCtrl, how to simply hide items for filtering

I did this myself. I added a wxSearchCtrl entry area. Then when the event for the wxSearchCtrl occurrs, I DeleteAllItems() in the wxListCtrl. And go back thru and only add items that return true for listString.Matches(filterString). My default filterString is "*" If you need you can get mo...
by sjnc.puzzle
Wed Jun 22, 2011 7:52 pm
Forum: C++ Development
Topic: Cannot include the String library.
Replies: 3
Views: 1153

Re: Cannot include the String library.

You might want to add the following line to your code after the #includes

using namespace std;
by sjnc.puzzle
Wed Jun 22, 2011 6:09 pm
Forum: C++ Development
Topic: wxHelp Help
Replies: 4
Views: 1606

wxHelp Help

I am running on Linux using wxWidgets-2.9.1. I have created a help file using the microsoft tools. I zipped all the files and created vcdview_help.zip file for my application. In my code I have: // Required for images in the online documentation wxImage::AddHandler(new wxGIFHandler); wxFileSystem::A...