Search found 334 matches
- Tue Nov 10, 2020 7:03 am
- Forum: C++ Development
- Topic: Problem loanding png files on wxWidgets-3.1.4
- Replies: 5
- Views: 1061
Re: Problem loanding png files on wxWidgets-3.1.4
The compiler very likely has no say in this, the error comes either from wxWidgets or libpng (I assume that on Linux you use the system libpng, not the one shipped with wxWidgets). There is no problem with libpng because i have the exaxt same code using wxWidgets-3.0.5 and there is no problem. Are ...
- Mon Nov 09, 2020 9:21 pm
- Forum: C++ Development
- Topic: Problem loanding png files on wxWidgets-3.1.4
- Replies: 5
- Views: 1061
Problem loanding png files on wxWidgets-3.1.4
Hello. When i am trying compiler says that it can not recognize the png file. wxImage image; image.LoadFile(wxT("a_file.png")); But if i add wxInitAllImageHandlers(); then program crashes. wxInitAllImageHandlers(); wxImage image; image.LoadFile(wxT("/home/a/Επιφάνεια εργασίας/163.png&...
- Mon Nov 09, 2020 4:25 pm
- Forum: C++ Development
- Topic: I can not catch the error in my app
- Replies: 1
- Views: 221
I can not catch the error in my app
Hello. I can not catch the error in my application. addimages works just fine for all images, but in sertain images gives it shuts down. [/code] AddInputFiles* addimages=new AddInputFiles(0L,p->all1,1); if (addimages->ShowModal() != wxID_CANCEL) return; I can not find what happend. I have try try { ...
- Mon Nov 09, 2020 10:50 am
- Forum: C++ Development
- Topic: wxSplit() with multiple delimiters
- Replies: 2
- Views: 391
Re: wxSplit() with multiple delimiters
Very useful.
Thank you.
Jim
Thank you.
Jim
- Fri Nov 06, 2020 12:39 pm
- Forum: C++ Development
- Topic: wxSplit() with multiple delimiters
- Replies: 2
- Views: 391
wxSplit() with multiple delimiters
Hello, i am trying to use wxSplit() with multiple delimiters.
Thank you.
Jim
There is a easy way with wxWidgets?wxArrayString a=wxSplit(s,',' or ';');
Thank you.
Jim
- Mon Nov 02, 2020 4:35 pm
- Forum: C++ Development
- Topic: wxBitmap from image array problem
- Replies: 12
- Views: 871
Re: wxBitmap from image array problem
I don't know about.
I am learning ..
Any ideas what to do about 1 and 3?
Thank you
Jim
I am learning ..
Any ideas what to do about 1 and 3?
Thank you
Jim
- Fri Oct 30, 2020 5:40 pm
- Forum: C++ Development
- Topic: wxBitmap from image array problem
- Replies: 12
- Views: 871
Re: wxBitmap from image array problem
Ok, in my program i only use wxWidgets and pdfium.
With wxWidgets license i have no problem as well.
And with pdfium too as i have see.
Is all that correct?
Thank you.
Jim
With wxWidgets license i have no problem as well.
And with pdfium too as i have see.
Is all that correct?
Thank you.
Jim
- Fri Oct 30, 2020 5:28 am
- Forum: C++ Development
- Topic: wxBitmap from image array problem
- Replies: 12
- Views: 871
Re: wxBitmap from image array problem
Yes is on working machine.
I link with static lib, to embedding the wxWidgets to binary, no depending libraries.
--------------------------------------------------------------
Ok, i will remove it.
But how must change the current code?
Thank you
Jim.
I link with static lib, to embedding the wxWidgets to binary, no depending libraries.
--------------------------------------------------------------
Ok, i will remove it.
But how must change the current code?
Thank you
Jim.
- Thu Oct 29, 2020 8:06 pm
- Forum: C++ Development
- Topic: wxBitmap from image array problem
- Replies: 12
- Views: 871
Re: wxBitmap from image array problem
dpkg -l libgtk2.0-0 libgtk-3-0 ii libgtk-3-0:amd 3.22.30-1ubu amd64 GTK+ graphical user interface lib ii libgtk2.0-0:am 2.24.32-1ubu amd64 GTK+ graphical user interface lib $ cat /etc/os-release NAME="Linux Mint" VERSION="19.1 (Tessa)" ID=linuxmint ID_LIKE=ubuntu PRETTY_NAME=&qu...
- Thu Oct 29, 2020 7:44 pm
- Forum: C++ Development
- Topic: wxBitmap from image array problem
- Replies: 12
- Views: 871
Re: wxBitmap from image array problem
I my other pc, same code runs on same OS ok.
Here no.
Thank you.
Jim
Here no.
Thank you.
Jim
- Thu Oct 29, 2020 7:02 pm
- Forum: C++ Development
- Topic: wxBitmap from image array problem
- Replies: 12
- Views: 871
wxBitmap from image array problem
Hello, i am using the code bellow from https://forums.wxwidgets.org/viewtopic.php?t=20074 topic. In the new pc with wxWidgets-3.1.4 after building static libs at Linux Mint i have problem. #include <wx/rawbmp.h> typedef wxAlphaPixelData PixelData; wxBitmap *RGBAtoBitmap(unsigned char *rgba, int w, i...
- Thu Oct 15, 2020 8:41 am
- Forum: wxCode
- Topic: wxGraphicsContext has not been declared
- Replies: 10
- Views: 17281
Re: wxGraphicsContext has not been declared
Hello. Problem solved. With wxWidgets-3.1.4 build as... mingw32-make -f makefile.gcc LDFLAGS="-static" BUILD=debug SHELL=cmd.exe mingw32-make -f makefile.gcc LDFLAGS="-static" BUILD=debug MONOLITHIC=1 SHELL=cmd.exe mingw32-make -f makefile.gcc LDFLAGS="-static" BUILD=re...
- Wed Oct 14, 2020 7:18 pm
- Forum: wxCode
- Topic: wxGraphicsContext has not been declared
- Replies: 10
- Views: 17281
Re: wxGraphicsContext has not been declared
Yes I have made wxPDFView library using cmake I have made codeblocks project file with Mingw64(CodeBlocks20) and then running it build the libwxPDFView.a library. But I can't know how to use it. I will try all wxXidgets versions and publish the results with icons. I don't know if in this subject fit...
- Wed Oct 14, 2020 6:17 pm
- Forum: wxCode
- Topic: wxGraphicsContext has not been declared
- Replies: 10
- Views: 17281
Re: wxGraphicsContext has not been declared
Hello.
I build all versions and many times.
To know exactly what i will use in my projects.
I will try wxUSE_GRAPHICS_CONTEXT=1 to see what will happen.
Thank you
Jim
I build all versions and many times.
To know exactly what i will use in my projects.
I will try wxUSE_GRAPHICS_CONTEXT=1 to see what will happen.
Thank you
Jim
- Wed Oct 14, 2020 11:06 am
- Forum: wxCode
- Topic: wxGraphicsContext has not been declared
- Replies: 10
- Views: 17281
Re: wxGraphicsContext has not been declared
I have try with versions 3.0.5, 3.1.4 ...
Same problem.
Jim.
Same problem.
Jim.