Search found 111 matches

by dkaip
Fri Feb 09, 2018 4:29 pm
Forum: C++ Development
Topic: Event driven editable rectangle vector class
Replies: 8
Views: 135

Re: Event driven editable rectangle vector class

Sorry but it does not work. But is no matter, i will find why. The code does not have a method to edit object, that i am looking for. For example a line that after creation i can move or delete or something else. A graphic that is not an image but an editing object, a shape. I think that http://www....
by dkaip
Fri Feb 09, 2018 11:15 am
Forum: C++ Development
Topic: Event driven editable rectangle vector class
Replies: 8
Views: 135

Re: Event driven editable rectangle vector class

Ok now it runs, but dont open files. I am in Mint linux, wxWidgets3.0.3
It says
../src/common/image.cpp(1746): assert "IsOk()" failed in GetHeight(): invalid image

Jim
by dkaip
Fri Feb 09, 2018 8:58 am
Forum: C++ Development
Topic: Event driven editable rectangle vector class
Replies: 8
Views: 135

Re: Event driven editable rectangle vector class

Thanks for advice. I just put your code to run for study, but #include <tif_config.h> don't exist. Must be put code in certain place inside wxWidgets3.0.3 folder for TIFF resources? I am trying to under stud what is the architecture of design CAD, like autocad. How objects are construct and are edit...
by dkaip
Thu Feb 08, 2018 12:31 pm
Forum: C++ Development
Topic: Event driven editable rectangle vector class
Replies: 8
Views: 135

Event driven editable rectangle vector class

Hello. I am trying to write an editable rectangle vector class. With DClick on rectangle the rectangle object must delete. That is the delete method must be in rect class as well as event must be in same class. But how i must write the rect class? In the way i have write the class, compiler says tha...
by dkaip
Sun Feb 04, 2018 6:09 pm
Forum: wxCode
Topic: wxSQLIte3 from sources...
Replies: 3
Views: 310

Re: wxSQLIte3 from sources...

Thank you very match for instructions. I am just find some time to see it.
I hope to find a litle time to try.
Thank's
Jim.
by dkaip
Fri Jan 26, 2018 7:29 pm
Forum: wxCode
Topic: wxSQLIte3 from sources...
Replies: 3
Views: 310

wxSQLIte3 from sources...

Hello, very thanks for lib. I am trying to compile minimal with only source files , so i post a piece of source CodeBlocks file, because compiler says .. ...wxsqlite3-3.5.9/src/wxsqlite3.cpp|1329|undefined reference to `sqlite3_column_database_name' But there is at "sqlite3.h" <Compiler> <...
by dkaip
Sat Jan 20, 2018 8:55 pm
Forum: C++ Development
Topic: How to put in wxListCtrl item a wxPanel?
Replies: 4
Views: 120

How to put in wxListCtrl item a wxPanel?

I have wxListCtrl and in cells i whant to put wxPanel Objects. Is that possible? class MyPanel1 : public wxPanel ---------------- MyPanel1* cp[100]; for(int i=0; i<10; i++) { cp[i]=new MyPanel1(this); m_listCtrl1->SetItem(i, 0, cp[i] ); }
by dkaip
Wed Jan 17, 2018 5:07 pm
Forum: wxCode
Topic: wxPDFView compile problem.
Replies: 13
Views: 389

Re: wxPDFView compile problem.

Thanks, but is only jar file, java exe.
I am try to have only c++ files.
Jim.
by dkaip
Wed Jan 17, 2018 6:44 am
Forum: wxCode
Topic: wxPDFView compile problem.
Replies: 13
Views: 389

Re: wxPDFView compile problem.

Hello. I will again take all codes from begining, and step by step i will add external dependensies. But first i must study, the ninja build system for pdfium, the i must try the pdfium_test that runs ok and the must see wxPDFView and cmake build system. BTW i have download evince source code and as...
by dkaip
Tue Jan 16, 2018 7:55 pm
Forum: wxCode
Topic: wxPDFView compile problem.
Replies: 13
Views: 389

Re: wxPDFView compile problem.

I don't know how to do this. Now i can't compile anything. I just study ...
by dkaip
Tue Jan 16, 2018 4:21 pm
Forum: wxCode
Topic: wxPDFView compile problem.
Replies: 13
Views: 389

Re: wxPDFView compile problem.

Hello. I just see all messages. Trying to compile all source codes, i realize that there is not only one project. So i am download all projects, all codes... https://github.com/PDFium/PDFium.git git clone https://pdfium.googlesource.com/pdfium git clone https://chromium.googlesource.com/chromium/too...
by dkaip
Mon Jan 15, 2018 3:26 pm
Forum: wxCode
Topic: wxPDFView compile problem.
Replies: 13
Views: 389

wxPDFView compile problem.

Helo. I am trying to make wxPDFView from all sources. At wxPDFView-0.8/src/PDFViewDocumentFrame.cpp at line 441 compiler says... double zoom = reinterpret_cast<int>(m_zoomComboBox->GetClientData(m_zoomComboBox->GetSelection())) / (double) 100; .../wxPDFView-0.8/src/PDFViewDocumentFrame.cpp|441|error...
by dkaip
Mon Jan 15, 2018 3:23 pm
Forum: wxCode
Topic: wxPDFView folder/file not exists
Replies: 4
Views: 179

Re: wxPDFView folder/file not exists

Hello. Trying to compile from sources, i discover that "fpdfdoc/fpdf_doc.h" folder is in klokantech's git hub for pdfium. So match repositories...
by dkaip
Mon Jan 08, 2018 11:33 am
Forum: wxCode
Topic: wxPDFDoc page number
Replies: 1
Views: 139

wxPDFDoc page number

Hello. I am trying to add some pdf files (pdf and text) and all works ok. If i must know in where page begins the texts, how i van know it? There is a easy method to know before save pdf document? Method for example wxPdfDocument::MultiCell returns the nymber of pages when puts text in pdf? wxPdfDoc...
by dkaip
Sat Jan 06, 2018 5:00 am
Forum: wxCode
Topic: wxPDFView folder/file not exists
Replies: 4
Views: 179

Re: wxPDFView folder/file not exists

Yes all paths are correct.
But source wxPDFView code wants #include "fpdfdoc/fpdf_doc.h" (wxPDFView/include/private/PDFViewBookmarks.h).
So, must exist a folder fpdfdoc and inside it the fpdf_doc.h.
The only pdfium/out/debug/obj/fpdfdoc/ dir have not fpdf_doc.h file.

Go to advanced search