Commit Graph

89 Commits

Author SHA1 Message Date
Włodzimierz Skiba
eecb33b018 Old API deprecated. Use new and remove old usage where necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 17:21:16 +00:00
Włodzimierz Skiba
82ef81ed9c Final MSW/PalmOS split. Remove dump copies of MSW specific code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 07:22:25 +00:00
Włodzimierz Skiba
4055ed8281 Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Julian Smart
ffecfa5aeb Committed William Osborne's wxPalmOS port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:40:30 +00:00
Włodzimierz Skiba
4629016dfb Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 17:30:19 +00:00
Włodzimierz Skiba
fa0d344773 wxUSE_LOG fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 17:04:02 +00:00
Włodzimierz Skiba
00aa028958 Missed conditional compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 16:14:42 +00:00
Václav Slavík
da1d313d80 fixed a bug that prevented wxLogGui from being used by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 07:40:57 +00:00
Julian Smart
0a53b9b8fe Missed reversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 17:31:17 +00:00
Włodzimierz Skiba
86f8d1a8bb Missed headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 16:59:35 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Włodzimierz Skiba
095d49f2fa Fix to wxChar* access.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:22:34 +00:00
Vadim Zeitlin
78361a0e98 moved OnExceptionInMainLoop() in .cpp from header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 11:16:32 +00:00
Robin Dunn
bc334f39ec Fixes Bug [ 930200 ] Async does not work
Because the wxConsoleAppTraits was being created for GUI apps
wxExecute would fail if the wxEXEC_ASYNC flags was used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 20:02:41 +00:00
Vadim Zeitlin
6ed5d6cbfb include just wrapwin.h and not the entire msw/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:04:31 +00:00
David Elliott
758f1d2e02 Reverting wxAppTraits GSocket patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 18:40:45 +00:00
David Elliott
49bcad6219 Added wxAppTraits::CreateGSocket() as well as implementations for wxBase and
wxGUI.  This method should return a new derived instance of GSocketBSD which
implements the EventLoop_ pure virtual functions appropriately.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 21:35:00 +00:00
Vadim Zeitlin
6f054ac5e8 documented how to handle C++ exceptions in wxWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:30:25 +00:00
Stefan Csomor
939fba6c17 removal of pc-mac charset conversion for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Robin Dunn
2dbc444a19 Move more stuff into base for wxMac so that two level namespace dylibs
can be used on OS X.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 00:03:18 +00:00
Vadim Zeitlin
49d3b775c7 use GetTraits(), not m_traits, in OnAssert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 22:20:59 +00:00
Václav Slavík
b880adecc4 build options signature is too long, use more lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:31:54 +00:00
Václav Slavík
38bb138f09 fixed wxBase and GUI separation for sockets code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:26:17 +00:00
Václav Slavík
2a7c760593 reworked wxBuildOptions code to work even w/o function inlining
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 13:17:17 +00:00
Vadim Zeitlin
b913d3ed6e moved wxUniv-specific GUI stuff from wxBase to wxCore; this fixes wxUniv DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 21:00:52 +00:00
Vadim Zeitlin
7cafd224fe replaced the old wxApp with wxAppConsole::ms_appInstance of type wxAppConsole; wxTheApp is now a macro for backwards compatibility (this fixes problems with contradictorary wxTheApp definitions in separate build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 23:00:16 +00:00
Vadim Zeitlin
f0244295e3 added wxAppTraits::CreateRenderer() which may be used to customize the renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 10:59:42 +00:00
Vadim Zeitlin
ce39c39e1f we don't use wxUSE_FILENAME any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 20:49:39 +00:00
Julian Smart
1c193821a9 More WinCE mods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 11:21:47 +00:00
Mattia Barbon
df5168c427 Added --use-stl to cnfigure, wxUSE_STL to setup0.h
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
  Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
  Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
  Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
  Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
  When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
  Made wxBase compile when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Václav Slavík
56fae7b8f5 compilation fix for #ifdef __WXDEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:33:02 +00:00
Vadim Zeitlin
7843d11bdc removed static methods from wxAppTraitsBase, this doesn't work well in non-monolithic DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 12:42:14 +00:00
Mattia Barbon
d546eba94e Check for null pointer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 21:04:24 +00:00
Vadim Zeitlin
05e2b077c6 more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:02:05 +00:00
Vadim Zeitlin
9482617091 extracted common initialization/cleanup functions in common/init.cpp; standardized wxEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:43:09 +00:00
Vadim Zeitlin
22f69dd493 we don't need to include wx/mac/private.h, at least under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:35:07 +00:00
Václav Slavík
910426ee7b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 11:29:40 +00:00
Václav Slavík
8df6de970d compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 11:21:42 +00:00
Vadim Zeitlin
e2478fde62 wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00