Search found 114 matches
- Fri Aug 22, 2014 4:37 pm
- Forum: C++ Development
- Topic: Tiff load warring?
- Replies: 4
- Views: 2088
Re: Tiff load warring?
I think the problem lies in the Cekli PhotoLab software, not the TIFF loading. The image has a transparent border and there are just some redraw errors. When i load the image into the wxWidgets "image" sample, i get the same warnings, but the image looks ok. Thank you for your reply =D>
- Fri Aug 22, 2014 4:03 pm
- Forum: C++ Development
- Topic: Tiff load warring?
- Replies: 4
- Views: 2088
Re: Tiff load warring?
Create an instance of wxLogNull in your image loading code to suppress the warnings. http://docs.wxwidgets.org/trunk/classwx_log_null.html Sorry, my english is too bad. I did not quite accurate expression what I mean. :oops: I test read tif file got some problem, it not only popup warring. It reall...
- Fri Aug 22, 2014 5:35 am
- Forum: C++ Development
- Topic: Tiff load warring?
- Replies: 4
- Views: 2088
Tiff load warring?
I use wxWidgets 3.0 to load tif image, I got a warring from load some tifs Image.
This Tiff is TIFF Revision 6.
How to resolve this problem?
Thank you.
This Tiff is TIFF Revision 6.
How to resolve this problem?
Thank you.
- Thu Aug 07, 2014 3:08 pm
- Forum: wxCode
- Topic: wxPdfDocument-Add new font (found memory leak)
- Replies: 6
- Views: 4614
Re: wxPdfDocument-Add new font (found memory leak)
#include "wx/pdfdoc.h" #include "wx/PdfFontManager.h" class TestPdf : public wxPdfDocument { public: TestPdf() { wxString fontPath = wxGetCwd() +wxFileName::GetPathSeparator()+ _T("Fonts"); wxSetEnv(wxT("WXPDF_FONTPATH"), fontPath); AddFont(wxT("SourceSa...
- Wed Jul 30, 2014 6:07 am
- Forum: wxWidgets Development (Chinese)
- Topic: 求救,我使用wxBitmapButton(wxWidgets 3.0.0)會閃屏
- Replies: 4
- Views: 6104
Re: 求救,我使用wxBitmapButton(wxWidgets 3.0.0)會閃屏
本來我也懷疑這一點,但我試過後,還是一樣。ChunJiu wrote:wxBitmapButton 似乎需要一组 bitmap,你是不是只用了一片 bitmap。
在event內使用wxFileDialog,會產生閃屏,試了很多方法都無效
在wxWidgets 3.0 多了一層wxAnyButton,左邊的那些分支會產生這個情形
右邊的分支不會。
改用wxBitmapToggleButton後,問題解決了
謝謝大家。
- Wed Jul 30, 2014 3:46 am
- Forum: wxWidgets Development (Chinese)
- Topic: 求救,我使用wxBitmapButton(wxWidgets 3.0.0)會閃屏
- Replies: 4
- Views: 6104
Re: 求救,我使用wxBitmapButton(wxWidgets 3.0.0)會閃屏
我使用 wxBitmapToggleButton 代替 wxBitmapButton, 看起來是好的。
- Wed Jul 30, 2014 3:44 am
- Forum: C++ Development
- Topic: Button will blink using wxBitmapButton(wxWidgets 3.0.0)
- Replies: 1
- Views: 1579
Re: Button will blink using wxBitmapButton(wxWidgets 3.0.0)
I use wxBitmapToggleButton instead of wxBitmapButton, it is fine.
- Wed Jun 18, 2014 1:51 pm
- Forum: wxWidgets Development (Chinese)
- Topic: 求救,我使用wxBitmapButton(wxWidgets 3.0.0)會閃屏
- Replies: 4
- Views: 6104
求救,我使用wxBitmapButton(wxWidgets 3.0.0)會閃屏
我的平台是window 7 and wxWidgets 3.0.0 我在我的專案內使用wxBitmapButton,在wxBitmapButton的事件內用wxFileDialog 會閃屏 我簡化我的代碼到widgets sample 裡使用也會 請問這如何解決?謝謝。 平台:windows 7 wxWidgets3.0.0 vs2010 void ButtonWidgetsPage::OnButton(wxCommandEvent& WXUNUSED(event)) { wxString szFilter=_T("cpp Project (*.cpp ;)|*.cpp;&q...
- Wed Jun 18, 2014 8:26 am
- Forum: C++ Development
- Topic: Button will blink using wxBitmapButton(wxWidgets 3.0.0)
- Replies: 1
- Views: 1579
Button will blink using wxBitmapButton(wxWidgets 3.0.0)
Hi~ I use wxBitmapButton in my project. I use wxFileDialog in the event of wxBitmapButton, I get blink this button in ower panel at the moment. I Simplify my code into widgets sample of wxWidgets 3.0, I got The same result. How do I resolve this problem? Thank you for Your reply. Platform:Windows 7,...
- Tue Jun 17, 2014 7:21 am
- Forum: wxCode
- Topic: wxPdfDocument-Add new font (found memory leak)
- Replies: 6
- Views: 4614
Re: wxPdfDocument-Add new font (found memory leak)
Hi~ I add new Font,and I found a memory leak. As follow: bool wxPdfFontSubsetCff::ReadFontDict(wxPdfCffDictionary* dict, int dictOffset, int dictSize) { bool ok = true; SeekI(dictOffset); int end = dictOffset + dictSize; int argStart, argSize, argTotal, op; while (TellI() < end) { argStart = TellI(...
- Tue Jun 17, 2014 3:15 am
- Forum: wxCode
- Topic: wxPdfDocument-Add new font (found memory leak)
- Replies: 6
- Views: 4614
wxPdfDocument-Add new font (found memory leak)
Hi~ I add new Font,and I found a memory leak. As follow: bool wxPdfFontSubsetCff::ReadFontDict(wxPdfCffDictionary* dict, int dictOffset, int dictSize) { bool ok = true; SeekI(dictOffset); int end = dictOffset + dictSize; int argStart, argSize, argTotal, op; while (TellI() < end) { argStart = TellI()...
- Sat Sep 08, 2012 8:08 am
- Forum: wxDev-C++
- Topic: How to create a new single wxPanel in the *.wxform?
- Replies: 1
- Views: 2289
How to create a new single wxPanel in the *.wxform?
Hi~
I am an new user for wxDev-C++
I can see create a new wxform and a new wxDailog for the file menu.
but I don't found create a new wxPanel for the file menu.
File menu->new menu->wxFrame or wxDialog, but don't wxPanel.
It is important for organizating a App.
Thank you for response.
I am an new user for wxDev-C++
I can see create a new wxform and a new wxDailog for the file menu.
but I don't found create a new wxPanel for the file menu.
File menu->new menu->wxFrame or wxDialog, but don't wxPanel.
It is important for organizating a App.
Thank you for response.
- Mon Dec 26, 2011 5:27 am
- Forum: C++ Development
- Topic: wxStaticBox with check
- Replies: 8
- Views: 2633
Re: wxStaticBox with check
Hi ,evstevemd wrote: I don't get what your saying!
I catch this image.
Thank you.
- Sun Dec 25, 2011 4:40 am
- Forum: C++ Development
- Topic: wxStaticBox with check
- Replies: 8
- Views: 2633
Re: wxStaticBox with check
I overlay wxStaticBox and wxCheckBox to do this. But I think about this way is no good. :oops: Anybody know that have single class to do this ? Think you. Why do you think it is bad way! Because I write those code have bad style. I use move location to do this. It is not easy to reuse. [-X No rule ...
- Sat Dec 24, 2011 1:43 pm
- Forum: C++ Development
- Topic: wxStaticBox with check
- Replies: 8
- Views: 2633
wxStaticBox with check
I overlay wxStaticBox and wxCheckBox to do this.
But I think about this way is no good.
Anybody know that have single class to do this ?
Think you.
But I think about this way is no good.
Anybody know that have single class to do this ?
Think you.