Search found 362 matches

by raananb
Tue Sep 25, 2018 9:12 am
Forum: C++ Development
Topic: wxGrid Limit the number of displayed rows [SOLVED]
Replies: 5
Views: 270

Re: wxGrid Limit the number of displayed rows [SOLVED]

That is true, and I though it would work...
by raananb
Tue Sep 25, 2018 8:58 am
Forum: C++ Development
Topic: wxGrid Limit the number of displayed rows [SOLVED]
Replies: 5
Views: 270

Re: wxGrid Limit the number of displayed rows [SOLVED]

You are correct in saying that SetMaxSize() is not part of wxGrid.

It is interesting to note that VisualStudio displays SetMaxSize when selecting a wxGrid function and that it is compiled with no errors!

I solved my problem by setting a fixed size to the grid.

Thanks.
by raananb
Tue Sep 25, 2018 7:44 am
Forum: C++ Development
Topic: Print to file
Replies: 4
Views: 92

Re: Print to file

@Oneeyeman With wxPrintout I know how to create and print a document, which is what is needed. However, when a document is printed with wxPrintout, there is no trace of it in the system, and I would like to have a copy for archiving. While it is possible to scan the document and save the image, it s...
by raananb
Mon Sep 24, 2018 4:25 pm
Forum: C++ Development
Topic: wxGrid Limit the number of displayed rows [SOLVED]
Replies: 5
Views: 270

wxGrid Limit the number of displayed rows [SOLVED]

using Grid->SetMaxSize(wxSize (-1,200)); does limit the size of the grid when it is created and filled with data, inserting scroll bars as required.

However, if a row is added, the grid overflows it maximum size and only return to it when recreated.

Any way to avoid this overflow?
by raananb
Mon Sep 24, 2018 3:55 pm
Forum: C++ Development
Topic: Print to file
Replies: 4
Views: 92

Print to file

How can I store a print image once a page is created using wxPrintout?

(Trunk on Windows 10)
by raananb
Sun Sep 02, 2018 7:56 am
Forum: C++ Development
Topic: wxListCtrl GetItemText
Replies: 1
Views: 69

wxListCtrl GetItemText

The documentation (3.0) of wxListCtrl presents the virtual OnGetItemText() but does not include the function GetItemText(item,col).

This function exists in the generic version and in msw version, and it executes as expected under msw, osx and gtk.

Is there a reason why it is not documented?
by raananb
Tue Jul 24, 2018 9:17 am
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 376

Re: configure problem with gtk3

I created a new Ubuntu 18.04 in vbox and installed gtk3. wxWidgets as well as my application build with no problems. gtk2 was installed by default.

The problem raised earlier is not present, and I guess the issue must be abandoned.
by raananb
Mon Jul 23, 2018 5:33 am
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 376

Re: configure problem with gtk3

2 & 3) there was nothing special done regarding this issue: I installed libgtk3-dev, then modified the kit parameter of Dialogblocks, which created the folder in question, as was done earlier fot gtk2. No snapshot was done, since I did not expect this problem. Unless there are specific suggestio...
by raananb
Sun Jul 22, 2018 7:53 pm
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 376

Re: configure problem with gtk3

which make gives /usr/bin/make
reinstalling build-essential makes no difference
by raananb
Sun Jul 22, 2018 6:56 pm
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 376

Re: configure problem with gtk3

Nothing was changed in Ubuntu executing in Virtual box. I simply installed libgtk3-dev

Doing ../configure --enable-debug in GCCBuildDebugGTK2Unicode_x64 gives the same results as with gtk3 - that is, the C compiler does not work. So something went wrong when libgtk3-dev was installed
by raananb
Sun Jul 22, 2018 1:36 pm
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 376

Re: configure problem with gtk3

The complicated configuration is generated by DialogBlocks, so there is no effort. 1wxWidgets was built with no problems with gtk2, so make is installed. I launched ../configure --with-gtk=3 with the following output: checking build system type... x86_64-pc-linux-gnu checking host system type... x86...
by raananb
Sun Jul 22, 2018 10:43 am
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 376

configure problem with gtk3

wxWidgets was built with no problems on Ubuntu/gtk2. I installed gtk3 (3.22) with sudo apt-get install libgtk-3-dev trying to build wxWidgets with DialogBlocks, configure fails. Which solution? config.log is below. This file contains any messages produced by compilers while running configure, to aid...
by raananb
Thu Jul 19, 2018 10:15 am
Forum: Compiler / Linking / IDE Related
Topic: wxmsw31ud.lib [SOLVED]
Replies: 2
Views: 246

Re: wxmsw31ud.lib [SOLVED]

You are right. I changed from Monolithic to Modular and that solved the issue.
by raananb
Thu Jul 19, 2018 9:54 am
Forum: Compiler / Linking / IDE Related
Topic: wxmsw31ud.lib [SOLVED]
Replies: 2
Views: 246

wxmsw31ud.lib [SOLVED]

Using Visual Studio 2017 and wx_vc15.sln, both Release and Debug libraries of Trunk and 3.1.1 build with no errors. Building the debug version of an application fails, with 'wxmsw31ud.lib is not found'. This file is effectively nowhere to be found on any version of wxWidgets. Any idea why it is requ...
by raananb
Thu Jul 19, 2018 8:11 am
Forum: C++ Development
Topic: dynarray [SOLVED]
Replies: 6
Views: 297

Re: dynarray [SOLVED]

The compatibility break bug was reported and a patch was created to restore it (#18169).

Go to advanced search