Search found 14 matches

by mihai
Sun Sep 23, 2018 8:43 am
Forum: Platform Related Issues
Topic: problem pasting from Numbers
Replies: 4
Views: 286

Re: problem pasting from Numbers

Pasting from Libre Office or Google Spreadsheet works with no problem. And which one doesn't work? This sounds to me like the problem is in the source application and not in yours. Use http://www.freeclipboardviewer.com to check what the clipboard actually contains. Pasting from Numbers (MacOS) doe...
by mihai
Sun Sep 23, 2018 8:05 am
Forum: Platform Related Issues
Topic: problem pasting from Numbers
Replies: 4
Views: 286

problem pasting from Numbers

Hi, I develop an application which should paste some values from spreadsheet applications (like Excel, Numbers etc) to a grid. The application works perfect except when copy-pasting from Numbers. Pasting from Libre Office or Google Spreadsheet works with no problem. Here is my code which I use to ge...
by mihai
Wed Jun 03, 2015 8:23 pm
Forum: Compiler / Linking / IDE Related
Topic: link statically on linux
Replies: 17
Views: 2574

Re: link statically on linux

fantastic!
it works !

THANKS,
mihai
by mihai
Wed Jun 03, 2015 7:06 pm
Forum: Compiler / Linking / IDE Related
Topic: link statically on linux
Replies: 17
Views: 2574

Re: link statically on linux

I have removed the monolithic... still the same error. I don't know why it cannot find the library since it is there. g++ first.cpp -D__WXGTK__ -I ~/Documents/wxWidgets-3.0.2/include -I /home/mihai/Documents/wxWidgets-3.0.2/ubuntu64/lib/wx/include/gtk2-unicode-static-3.0/ -L /home/mihai/Documents/wx...
by mihai
Wed Jun 03, 2015 4:32 pm
Forum: Compiler / Linking / IDE Related
Topic: link statically on linux
Replies: 17
Views: 2574

link statically on linux

I want to link statically on Ubuntu. I know this topic has been discussed before, but I have a problem and I don't know how to solve it (most likely because I'm not very familiar with Linux). On Windows and Mac I've been able to link statically with no problem. first I have configured in this way: ....
by mihai
Mon May 25, 2015 7:15 am
Forum: C++ Development
Topic: wxGrid: where the index of hidden columns are stored?
Replies: 4
Views: 644

Re: wxGrid: where the index of hidden columns are stored?

So are you saying it only happens under OSX? Do you see it in the "grid" sample? it seems that it was my mistake. I was storing the width of columns and then restore them ... however, the other problem with the menuitem ID of zero on Mac appear on the grid sample too. I will create a new topic for ...
by mihai
Sun May 24, 2015 8:01 pm
Forum: C++ Development
Topic: wxGrid: where the index of hidden columns are stored?
Replies: 4
Views: 644

Re: wxGrid: where the index of hidden columns are stored?

Which platform and wxWidgets version? I don't see this behavior under Windows. Actually i'm pretty sure that wxWidgets never saves any configuration data anywhere unasked. So my guess is that this is a feature of the native control on the platform you're working on. I work on Windows 7 now. wxWidge...
by mihai
Sun May 24, 2015 7:37 pm
Forum: C++ Development
Topic: wxGrid: where the index of hidden columns are stored?
Replies: 4
Views: 644

wxGrid: where the index of hidden columns are stored?

when I create a wxGrid with native headers, I can right click on header and make some columns to be hidden. if I restart the application the previously hidden columns are still hidden which means that wx stores this information somewhere. so, where is this information stored? in which file ? thanks,...
by mihai
Thu Dec 04, 2014 8:33 am
Forum: Platform Related Issues
Topic: creating a deb package
Replies: 3
Views: 1579

Re: creating a deb package

Hi, Warning: I'm not an expert on package building. However, do you need to specify wxgtk in 'Depends'? I think i's normal just to have the line: Depends: ${shlibs:Depends}, ${misc:Depends} so that debhelper(?) works out the dependencies for itself. I get an error: sudo dpkg-deb --build mys_softwar...
by mihai
Thu Dec 04, 2014 7:12 am
Forum: Platform Related Issues
Topic: creating a deb package
Replies: 3
Views: 1579

creating a deb package

Hi there, I have created a deb package for my application. I the control file I have specified: Depends: libwxgtk3.0-0 when I installed the application on a fresh system I was able to install it, but it seems that not all wxgtk libraries were installed: ldd /usr/local/bin/myapp linux-vdso.so.1 => (0...
by mihai
Mon Dec 01, 2014 10:34 pm
Forum: C++ Development
Topic: resize the buttons at runtime
Replies: 2
Views: 841

Re: resize the buttons at runtime

doublemax wrote:It's possible that the initial content on creation determines the minimum size of the button. What happens if you create it with an empty label?
that is a brilliant idea !
thanks!
mihai
by mihai
Mon Dec 01, 2014 7:27 pm
Forum: Platform Related Issues
Topic: images on buttons are not shown on Ubuntu
Replies: 1
Views: 814

images on buttons are not shown on Ubuntu

here is my code where the images are not shown. the code works just fine on Windows and Mac. I have Ubuntu and wxWidgets - latest versions. #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif #ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif class MyApp : public wxApp...
by mihai
Mon Dec 01, 2014 6:57 pm
Forum: C++ Development
Topic: resize the buttons at runtime
Replies: 2
Views: 841

resize the buttons at runtime

when I press a button I want to resize its width in order to accommodate with the length of its label. however, in my code, the button size only increases (if the text is longer than previous one). but, if the label is shorter, the button width does not decrease. here is my code: // For compilers th...
by mihai
Sun Aug 24, 2014 10:14 am
Forum: Compiler / Linking / IDE Related
Topic: cannot compile with embarcadero (borland) xe
Replies: 1
Views: 926

cannot compile with embarcadero (borland) xe

Hi there, I'm trying to compile the libraries (version 3.0.1) with embarcadero (ex borland) compiler and I get an error: Error E2352 ..\..\src\common\appbase.cpp 320: Cannot create instance of abstract class 'wxAppTraits' in function wxAppConsoleBase::GetValidTraits() Error E2353 ..\..\src\common\ap...