Search found 281 matches

by dkaip
Fri Nov 13, 2020 4:05 pm
Forum: wxCode
Topic: wxPDFView from sources
Replies: 5
Views: 201

Re: wxPDFView from sources

I have build wxPDFView.a on windows 10 with cmake and MinW64 and codeblocks, and after that i never managed to work. Of course most people works with MSVS as i understud, and that is more easy. The basic reason that i use only Codeblocks and MinGW are the wxWidgets framework, the open source and the...
by dkaip
Fri Nov 13, 2020 6:59 am
Forum: wxCode
Topic: wxPDFView from sources
Replies: 5
Views: 201

Re: wxPDFView from sources

Thank you, it opens pdfs, 001.png disappear ... But the control do not displays the pdf pages except the first one. Have the simple sample of wxPDFView problem? I am punting the sample. Thank you Jim ///////////////////////////////////////////////////////////////////////////// // Name: samples/simpl...
by dkaip
Thu Nov 12, 2020 4:09 pm
Forum: wxCode
Topic: wxPDFView from sources
Replies: 5
Views: 201

Re: wxPDFView from sources

Also at another GUI test opening a simple pdf control says ... void wxPDFView_testDialog::OnAbout(wxCommandEvent &event) { wxFileDialog dlg(this, "Select Document", wxEmptyString, wxEmptyString, "*.pdf", wxCENTRE|wxFD_OPEN|wxFD_FILE_MUST_EXIST); if (dlg.ShowModal() == wxID_OK) { wxPDFViewDocumentFra...
by dkaip
Thu Nov 12, 2020 4:00 pm
Forum: wxCode
Topic: wxPDFView from sources
Replies: 5
Views: 201

wxPDFView from sources

Hello.
I have build the wxPDFView from sources with CodeBlocks, GCC, Linux Mint, and connect with pdfium(libpdfium.so 28.1MB)
But when i open a pdf file gives icons in mouse rotation like that and i don’t know the reason. The simple program is very simple.
Thank you
Jim
by dkaip
Thu Nov 12, 2020 3:48 pm
Forum: wxCode
Topic: wxGraphicsContext has not been declared
Replies: 10
Views: 692

Re: wxGraphicsContext has not been declared

Hello.
You have right for setup.h.
I think i have loose my mind.
I have delete all, making tries start all times from the beginning.
Thank you.
Jim
by dkaip
Wed Nov 11, 2020 6:38 am
Forum: C++ Development
Topic: Problem loanding png files on wxWidgets-3.1.4
Replies: 5
Views: 243

Re: Problem loanding png files on wxWidgets-3.1.4

My code is at the begging .. wxInitAllImageHandlers(); wxImage image; image.LoadFile(wxT("/home/a/163.png")); The debugger ... ........... [debug][Thread debugging using libthread_db enabled] [debug]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Child process PID: 7697 [d...
by dkaip
Tue Nov 10, 2020 11:14 am
Forum: Compiler / Linking / IDE Related
Topic: undefined reference to `__imp_InitCommonControls
Replies: 1
Views: 142

undefined reference to `__imp_InitCommonControls

Hello. I am trying to build simple project at WIN10, CodeBlocks, Minw64, from wxPDFView project. ///////////////////////////////////////////////////////////////////////////// // Name: samples/simple/Simple.h // Purpose: Simple sample app implementation // Author: Tobias Taschner // Created: 2014-08-...
by dkaip
Tue Nov 10, 2020 7:03 am
Forum: C++ Development
Topic: Problem loanding png files on wxWidgets-3.1.4
Replies: 5
Views: 243

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 ...
by dkaip
Mon Nov 09, 2020 9:21 pm
Forum: C++ Development
Topic: Problem loanding png files on wxWidgets-3.1.4
Replies: 5
Views: 243

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")); I am using ...
by dkaip
Mon Nov 09, 2020 4:25 pm
Forum: C++ Development
Topic: I can not catch the error in my app
Replies: 1
Views: 116

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 { ...
by dkaip
Mon Nov 09, 2020 10:50 am
Forum: C++ Development
Topic: wxSplit() with multiple delimiters
Replies: 2
Views: 151

Re: wxSplit() with multiple delimiters

Very useful.
Thank you.
Jim
by dkaip
Fri Nov 06, 2020 12:39 pm
Forum: C++ Development
Topic: wxSplit() with multiple delimiters
Replies: 2
Views: 151

wxSplit() with multiple delimiters

Hello, i am trying to use wxSplit() with multiple delimiters.
wxArrayString a=wxSplit(s,',' or ';');
There is a easy way with wxWidgets?
Thank you.
Jim
by dkaip
Mon Nov 02, 2020 4:35 pm
Forum: C++ Development
Topic: wxBitmap from image array problem
Replies: 12
Views: 271

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
by dkaip
Fri Oct 30, 2020 5:40 pm
Forum: C++ Development
Topic: wxBitmap from image array problem
Replies: 12
Views: 271

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
by dkaip
Fri Oct 30, 2020 5:28 am
Forum: C++ Development
Topic: wxBitmap from image array problem
Replies: 12
Views: 271

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.