Search found 423 matches

by raananb
Sun Oct 21, 2018 8:53 am
Forum: C++ Development
Topic: wxTextCtrl wont Fit()
Replies: 1
Views: 206

wxTextCtrl wont Fit()

Fit() does not have any effect on wxTextCtrl. Is this the expected behavior?
by raananb
Tue Sep 25, 2018 9:12 am
Forum: C++ Development
Topic: wxGrid Limit the number of displayed rows
Replies: 5
Views: 897

Re: wxGrid Limit the number of displayed rows

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
Replies: 5
Views: 897

Re: wxGrid Limit the number of displayed rows

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: 403

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
Replies: 5
Views: 897

wxGrid Limit the number of displayed rows

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: 403

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: 244

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: 1868

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: 1868

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 suggestions, ...
by raananb
Sun Jul 22, 2018 7:53 pm
Forum: Platform Related Issues
Topic: configure problem with gtk3
Replies: 10
Views: 1868

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: 1868

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: 1868

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: 1868

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
Replies: 2
Views: 764

Re: wxmsw31ud.lib

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
Replies: 2
Views: 764

wxmsw31ud.lib

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...