Search found 63 matches
- Fri Jul 26, 2013 1:59 pm
- Forum: C++ Development
- Topic: wxTimer in a service side DLL
- Replies: 1
- Views: 595
wxTimer in a service side DLL
I have a Windows service that I am trying to change into a wxApp so that I can use wxTimer. The initial problem was that Notify() never gets called and I learned that this is because no event loop is available. I have therefore changed my service to be a wxApp (using the macro IMPLEMENT_APP_NO_MAIN)...
- Wed Jul 24, 2013 11:32 am
- Forum: C++ Development
- Topic: WxDateTime GetYear returns unexpected result
- Replies: 2
- Views: 1107
Re: WxDateTime GetYear returns unexpected result
Hi doublemax I found the issue. On client side I get a wxDateTime from a dialog. At this point it is correct. I then use Format() to get a string and send the string to the server. This is where the problem occurs. Using wxDateTime::Format() returns something like 24/07/13 12:01:02 on my machine. On...
- Wed Jul 24, 2013 10:42 am
- Forum: C++ Development
- Topic: WxDateTime GetYear returns unexpected result
- Replies: 2
- Views: 1107
WxDateTime GetYear returns unexpected result
Hi everyone, I just realized that wxDateTime.GetYear() returns 13 instead of 2013. This is unexpected as nowhere in the documentation can I find mention of having to add something to the result of GetYear(). Also, how will it work if I have 1913 in the year? Does the date time format setting on the ...
- Wed Apr 24, 2013 7:46 am
- Forum: Compiler / Linking / IDE Related
- Topic: wxWidgets & POCO
- Replies: 2
- Views: 3086
Re: wxWidgets & POCO
Moving the "dynlib.h" header file to the first line and changing wxDllType to HMODULE in the offending file solved the issue. I assume this is fine (for Windows at least) to do this a wxDllType is just a typedef of HMODULE.
- Wed Apr 24, 2013 7:24 am
- Forum: Compiler / Linking / IDE Related
- Topic: wxWidgets & POCO
- Replies: 2
- Views: 3086
Re: wxWidgets & POCO
After some more investigation the problem is between wxWidget's dynlib.h and POCO. I will continue to see if I can find a solution and post a reply if I do.
- Wed Apr 24, 2013 6:26 am
- Forum: Compiler / Linking / IDE Related
- Topic: wxWidgets & POCO
- Replies: 2
- Views: 3086
wxWidgets & POCO
Hi everyone, I hope someone can shed some light on this. I am using wxWidgets 2.8.12, VS 2008 on Windows with the POCO libraries. The project consists of dlls that are loaded by an application. The problem is that the dlls that include POCO headers for other functionality cannot build. The error I a...
- Wed Feb 20, 2013 1:45 pm
- Forum: C++ Development
- Topic: How to Load XML file in wxWidget program
- Replies: 2
- Views: 892
- Mon Dec 10, 2012 6:25 am
- Forum: C++ Development
- Topic: Using DLL with main app
- Replies: 6
- Views: 1985
Re: Using DLL with main app
AFAIK you need to use the dynamic build of widgets to get this to work. I've made an application that uses plugins : both the main application and the plugins (which are loaded at runtime) use wxWidgets. If I link a plugin or the main application with the static version of wxWidgets, it crashes.
- Mon Dec 03, 2012 10:50 am
- Forum: C++ Development
- Topic: Using DLL with main app
- Replies: 6
- Views: 1985
Re: Using DLL with main app
I might misunderstand your question, but have a look here: http://wiki.wxwidgets.org/Programs_That_Support_Plugins
- Fri Oct 12, 2012 1:14 pm
- Forum: C++ Development
- Topic: catch EVT_HEADER_SEPARATOR_DCLICK in 2.8.9
- Replies: 0
- Views: 681
catch EVT_HEADER_SEPARATOR_DCLICK in 2.8.9
Hi, We are using wxMSW 2.8.9 and I need to catch the EVT_HEADER_SEPARATOR_DCLICK event that is triggered when a user double clicks on a column header separator in a wxListCtrl. I see that 2.9 upwards supports this with the addition of the wxHeaderCtrl but can this be accomplished in 2.8.9? Thanks in...
- Fri Sep 07, 2012 12:49 pm
- Forum: C++ Development
- Topic: wxXML woes
- Replies: 4
- Views: 1235
Re: wxXML woes
Ok, I am able to get the string out by using GetNodeContent(). I am still concerned about what all the "text" children are. I suspect I will have more questions before long.
Thanks
Thanks
- Fri Sep 07, 2012 12:25 pm
- Forum: C++ Development
- Topic: wxXML woes
- Replies: 4
- Views: 1235
wxXML woes
Hi everyone, I hope someone can help me understand wxXML. Firstly, lets start with the XML file I want to read : <?xml version="1.0" encoding="utf-8"?> <Config Name="Default"> <Instance Name="MyInstance"> <Modules/>ModuleA,ModuleB,ModuleC </Instance> <Module Name="ModuleA"> <DBConnectionString/>abcd...
- Thu Aug 02, 2012 1:17 pm
- Forum: C++ Development
- Topic: How to build 2.9.4 whit unicode switched off
- Replies: 1
- Views: 1922
How to build 2.9.4 whit unicode switched off
Hi everyone,
We are migrating from widgets 2.8.9 to 2.9.4 but we can't seem to figure out how to build widgets without unicode support. Can someone point me to a solution?
Thanks.
We are migrating from widgets 2.8.9 to 2.9.4 but we can't seem to figure out how to build widgets without unicode support. Can someone point me to a solution?
Thanks.
- Wed Jul 25, 2012 1:59 pm
- Forum: C++ Development
- Topic: wxDateTime to tm
- Replies: 1
- Views: 947
wxDateTime to tm
Hi everyone,
Does anyone know of a function to convert wxDateTime to tm (Please note that I am not taking about the Tm struct in wx, but the std tm struct. I wrote a fucntion to do it, but if wx has a built in function I would prefer to use that.
Regards.
Does anyone know of a function to convert wxDateTime to tm (Please note that I am not taking about the Tm struct in wx, but the std tm struct. I wrote a fucntion to do it, but if wx has a built in function I would prefer to use that.
Regards.
- Fri Jul 06, 2012 6:30 am
- Forum: C++ Development
- Topic: wxMediaCtrl : wxEVT_MEDIA_LOADED not being called
- Replies: 2
- Views: 1356
Re: wxMediaCtrl : wxEVT_MEDIA_LOADED not being called
Thanks Doublemax, that was it. I would also like to add that "this->GetId()" should be replaced with "m_mediaCtrl->GetId()" for it to work.