Search found 11 matches

by pkullmann
Tue Nov 20, 2012 10:00 am
Forum: The Code Dump
Topic: wxTreeList with NO_HEADER style option
Replies: 2
Views: 4903

Re: wxTreeList with NO_HEADER style option

If you feel this should be in wx itself, you should make a bug-report to trac, attaching a patch made against svn trunk.
I did that in the meamtime.
The patch has been accepted and will be in 2.9.5
by pkullmann
Mon Nov 19, 2012 1:48 pm
Forum: The Code Dump
Topic: wxTreeList with NO_HEADER style option
Replies: 2
Views: 4903

wxTreeList with NO_HEADER style option

Hi, wxTreeList is using wxDataViewCtrl, which allows to not display column headers (wxDV_NO_HEADER style). Unfortunately this style is not available in wxTreeList. Also, it is not possible to simply override wxTreeList::Create, because it uses an internal class, which is not exported. So, I enhanced...
by pkullmann
Mon Nov 19, 2012 10:46 am
Forum: C++ Development
Topic: wxWebView and AttachUnknownControl
Replies: 0
Views: 1148

wxWebView and AttachUnknownControl

Hi, I am using wxWidgets 2.9.4, 32-bit on Win7, 64-bit. I was trying to inject a wxWebView into an XRC-based panel, where I inserted a custom ("unknown") object. It would work in principle, however, the wxWebView was not sized according to the layout. The layout is correct, since using ano...
by pkullmann
Mon Jan 24, 2011 11:33 am
Forum: Platform Related Issues
Topic: How to attach a windows HDC to a wxDC
Replies: 0
Views: 988

How to attach a windows HDC to a wxDC

Since 2.9.0, obviously, the method wxDC::SetHDC was dropped. I used it before to attach a wxDC to a windows device contect handle (HDC).

Is there any other way to achieve the same thing in 2.9.x ?

Peter
by pkullmann
Mon Jan 24, 2011 11:20 am
Forum: Compiler / Linking / IDE Related
Topic: Migrating non-unicode app to 2.9.1
Replies: 3
Views: 1427

Thanks. I chose the other option to migrate to unicode now. This however entailed that I had to migrate a whole bunch of other libs to unicode as well. It took a couple of days to resolve all issues, but now it's done and it works. :-) But I still wonder about the claim, that the ansi and unicode bu...
by pkullmann
Tue Jan 04, 2011 4:33 pm
Forum: Compiler / Linking / IDE Related
Topic: Migrating non-unicode app to 2.9.1
Replies: 3
Views: 1427

Migrating non-unicode app to 2.9.1

My app is non-unicode until now (MSVC). I am trying to migrate to wxWidgets 2.9.1 and find some problems with it, but no enlightment in the docs. I don't know how it's meant to be, but it seems that I have to define _UNICODE for my projects when using 2.9.1 If I don't, there might be inconsistencies...
by pkullmann
Wed Jul 25, 2007 11:12 am
Forum: C++ Development
Topic: How to create a console app using wxServer?
Replies: 2
Views: 750

upCASE wrote:Hi!
Have a look at the console example. It has some socket code.
So, indirectly you are saying, I have to resort to plain sockets? I was hoping to be able to use the higher level communication features of wxServer/wxClient and possibly use DDE for communication.

Peter
by pkullmann
Tue Jul 24, 2007 12:12 pm
Forum: C++ Development
Topic: How to create a console app using wxServer?
Replies: 2
Views: 750

How to create a console app using wxServer?

Hi, I want to create a console app that uses wxServer. As far as I could see, wxServer requires an event loop to work. My questions: 1) Does wxServer require an event loop? 2) Is there a way to set up an event loop without using wxApp? All my attempts failed, using wxEventLoop without having a wxApp...
by pkullmann
Fri Jan 05, 2007 9:50 am
Forum: Compiler / Linking / IDE Related
Topic: STLPort and wxUSE_STL compilation error
Replies: 3
Views: 1590

I think stl/_function.h is specific to STLPort whereas #include <functional> should be portable across stl implementations. Note, that in STLPort functional includes stl/_function.h
by pkullmann
Fri Dec 15, 2006 4:06 pm
Forum: Compiler / Linking / IDE Related
Topic: STLPort and wxUSE_STL compilation error
Replies: 3
Views: 1590

STLPort and wxUSE_STL compilation error

wxWidgets 2.8.0
STLPort 5.1.0
MSVC 8

With this configuration, compiling many of the samples produces compilation errors in the WX_LIST macros: 'no definition for std::greater'

Fix: Place '#include <functional>' in line 37 of file wx/list.h
by pkullmann
Thu Nov 30, 2006 6:23 pm
Forum: C++ Development
Topic: XRS-files with embedded bitmaps resources don't work
Replies: 1
Views: 941

XRS-files with embedded bitmaps resources don't work

Is it right, that XRS-files with embedded bitmaps don't work anymore (2.7.x and up)? As far as I was able to see, the problem is that wxZipInputStream doesn't support seeking anymore. But that's exactly what wxImageHandler::CallDoCanRead wants to do, when trying to load a bitmap resource. The WXWIN_...