Commit Graph

251 Commits

Author SHA1 Message Date
Mattia Barbon
dee1a63ff5 Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
  Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
  Ran build/update-setup-h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Włodzimierz Skiba
3452f00b56 MSWUniv build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 13:37:07 +00:00
Michael Wetherell
588c80dea1 Ambiguous overload fix for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 13:02:27 +00:00
Vadim Zeitlin
42d0df0030 wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag (and it actually works correctly, too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 23:56:34 +00:00
Vadim Zeitlin
7999124f55 fix wxExecute() return code checks and removed not working code to open URLs in new window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 23:28:26 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
ae6c8147aa Code clarification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-05 18:10:46 +00:00
Włodzimierz Skiba
8cc3b2e982 [1242443] wxUSE_UNICODE fix for wxLaunchDefaultBrowser.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 12:51:12 +00:00
Włodzimierz Skiba
532d575bd9 Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 17:53:19 +00:00
Julian Smart
f8c10795d5 WinCE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 14:07:32 +00:00
Julian Smart
fab79d4427 Applied patch [ 1202417 ] Make wxLaunchDefaultBrowser windows fallback work with wince
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 10:49:13 +00:00
Julian Smart
18ac2afbc6 WinCE fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-13 12:07:08 +00:00
Robin Dunn
2830b4a411 Have wxLaunchDefaultBrowser fallback to the BROWSER environment
variable on *nix if the mimetype info fails to lead to a usable
command.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 23:38:12 +00:00
Włodzimierz Skiba
657a7545e0 Fix for broken wxMSWUniv after wxLaunchDefaultBrowser introduction. Source cleaning (should not happen in new code).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 15:51:57 +00:00
Ryan Norton
eb5b252d64 Fix Non-ce MSW unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 15:01:27 +00:00
Ryan Norton
d6a7c33aea wxUSE_MIMTYPE gaurd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-21 20:30:03 +00:00
Ryan Norton
498a1eeb8d Add wxLaunchDefaultBrowser, note wxGetKeyState change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-21 20:13:44 +00:00
Włodzimierz Skiba
525d858363 Last .empty() string source cleaning before 2.5.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 13:57:02 +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
Vadim Zeitlin
4d17215498 added flags parameter to wxExecute(wxArrayString *) overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 00:03:35 +00:00
Kevin Hock
12cfa30457 [1001483] wxGetPasswordFromUser now uses wxPasswordEntryDialog instead of wxTextEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 19:09:58 +00:00
Kevin Hock
b3bb2a7427 Add ability to position and/or center the dialog for wxGetPasswordFromUser like you can for wxGetTextFrom User
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 02:21:39 +00:00
Václav Slavík
c838b68e83 make sure that wxNewId() doesn't return standard ID's value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 21:10:45 +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
Ron Lee
10f206ad20 For autoconf/unix builds update the hardcoded afm dir too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 07:50:21 +00:00
Włodzimierz Skiba
cb719f2e29 Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false, !!/!IsEmpty().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 18:20:56 +00:00
Włodzimierz Skiba
13d13a9e19 Correct positioning of the entry text dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 14:14:20 +00:00
Włodzimierz Skiba
e70ba80d53 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 16:19:36 +00:00
Vadim Zeitlin
08873d362b added wxMilli/MicroSleep(), deprecated wxUsleep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 12:15:00 +00:00
Dimitri Schoolwerth
53a6ac21b8 applied valid part of patch #940683: "wxMessageBox autocompletion"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 15:45:24 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +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
Stefan Neis
e484468721 Fixed #pragma interface/implementation handling for old compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 16:38:02 +00:00
Václav Slavík
14f355c2b5 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Václav Slavík
324899f6c5 return wxToolkitInfo by reference and not by pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:39:26 +00:00
Václav Slavík
a8eaaeb237 replaced wxAppTraits::GetOSVersion with GetToolkitInfo with richer information that is needed by wxDynamicLibrary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:14:17 +00:00
Mattia Barbon
4c3ebca927 Fix some compilation and linking errors in samples.
Replace some calls to wxString::getWriteBuffer with
wxStringBuffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 15:05:08 +00:00
Julian Smart
4676948b68 More WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:50:07 +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
Stefan Csomor
56f69d54fa moved c-runtime functions for CW to wxchar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 19:46:22 +00:00
Mattia Barbon
f526f7526b Quick and dirty fix for building with COMPATIBILITY_2_4 off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 17:11:19 +00:00
Václav Slavík
fd24237519 fixed to make wxBase DLL compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 12:50:48 +00:00
Vadim Zeitlin
2739d4f052 moved GetOSVersion() to the base traits class; implement it in platform-specific files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 00:16:04 +00:00
Vadim Zeitlin
ec67cff1f6 __WXBASE__ -> wxUSE_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 23:46:00 +00:00
Vadim Zeitlin
fcdb9b388a missign app.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:13:29 +00:00
Vadim Zeitlin
636773ddad temp fix for link errors after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 15:44:31 +00:00
Vadim Zeitlin
7c0720183f don't disable hidden windows in wxWindowDisabler, it's at best useless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 17:45:14 +00:00
Vadim Zeitlin
e12c92c2f7 moved wxFloat/DoubleToStringStr from src/*/data.cpp to src/common/utils.cpp; took all String <-> Numebr functions inside WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 13:08:46 +00:00