Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
c1dc9f8394
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Vadim Zeitlin
026ff75b75
don't leave dummy extension in of.lpstrDefExt (bug 1609614)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 17:17:37 +00:00
Robert Roebling
b014db05bb
Add m_fsStyle next to m_windowStyle
...
Add HasFdFlag()
Use it for all tests in all variants of
wxFileDialogs. That way it will be easier
to change again centrally, if required.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 13:26:47 +00:00
Włodzimierz Skiba
57bd4c6031
Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Włodzimierz Skiba
18680f8651
Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 17:58:49 +00:00
Włodzimierz Skiba
949c9f74c3
Include wx/choicdlg.h, wx/textdlg.h and wx/filedlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 17:50:46 +00:00
Michael Wetherell
556151f5ff
Commit pickers-fixes.patch added to 1472329 (Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 12:00:30 +00:00
Włodzimierz Skiba
e031f1df56
wxFD_* constants without 2.6 compatibility (heavily extended and modified patch #1497305 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:25:35 +00:00
Vadim Zeitlin
ff3e84ffdc
File/dir dialog styles and other changes (patch 1488371):
...
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Vadim Zeitlin
04227efc4d
fix for Win64 after last sizeof(OPENFILENAME) change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:24:39 +00:00
Vadim Zeitlin
cb80db46e5
no real changes, just (unsuccessful) attempts to make the dialog resizing work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:09:19 +00:00
Vadim Zeitlin
5bb372168a
always use V5 OPENFILENAME struct first and fall back on V4 if it doesn't work (replaces patch 1472018)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 01:30:50 +00:00
Vadim Zeitlin
c46c1fb868
code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 14:08:19 +00:00
Vadim Zeitlin
f697241630
compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 13:55:19 +00:00
Julian Smart
e8615999dd
Fixed wxFileDialog breakage on WinCE due to incorrect structure size, and
...
added correct error testing for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 11:20:09 +00:00
Vadim Zeitlin
af1f0a7631
made absence of wxCHANGE_DIR flag work even under NT (slightly modified patch 1299298)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 20:38:50 +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
Julian Smart
106d80ad37
Applied patch [ 1195797 ] Fixes to compile on Win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 12:10:55 +00:00
Włodzimierz Skiba
660296aa90
Wrap <commdlgs.h> as <commctls.h>. Required makefiles rebuilded.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 19:39:54 +00:00
Ryan Norton
7a80bdc851
get rid of duplicate comment :)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 22:16:48 +00:00
Włodzimierz Skiba
b713f8919c
wx/math.h integration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:52:13 +00:00
Włodzimierz Skiba
3180bc0e63
Hardware defines spec.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 18:17:07 +00:00
Włodzimierz Skiba
cbe874bd32
Code cleaning: whitespaces, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, ::.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 12:17:55 +00:00
Włodzimierz Skiba
41b8fe99b4
Missing DMC OFN_* values.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 18:04:01 +00:00
Julian Smart
503528dca0
OFN_ENABLESIZING not appropriate for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 18:48:54 +00:00
Vadim Zeitlin
0b11099dd6
implemented moving the dialog (patch 996448)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:56:00 +00:00
Vadim Zeitlin
90bddb8566
check better before overwriting files (patch 951868)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:54:15 +00:00
Włodzimierz Skiba
daf3246330
wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +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
Włodzimierz Skiba
21416306cb
Patch #953165 , Bug #821657 : wxHIDE_READONLY no more important.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 13:04:41 +00:00
Václav Slavík
d7da7f13eb
applied patch 939076: __SMARTPHONE__ define
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 21:13:49 +00:00
Julian Smart
f0f4301209
Filter index wasn't being set for multiple file dialog
...
Added several filters to multiple files test in dialogs sample
to test that it's now working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-21 13:41:12 +00:00
Vadim Zeitlin
ac95e67140
reverted strange and IMO unnecessary OFN_OVERWRITEPROMPT emulation (bug 812346)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 18:12:26 +00:00
Vadim Zeitlin
89654c9a49
GetFilenames() always returned a single file only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 15:06:53 +00:00
Julian Smart
6f661de706
Applied patch [ 791847 ] Missing translation in filedlg.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 09:25:57 +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
Vadim Zeitlin
c39e82f097
don't sort filenames returned from the dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:47:16 +00:00
Julian Smart
449110cd74
Added minimal file dialog for SmartPhone
...
Use wxSYSTEM_MENU to get X symbol on PocketPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:46:33 +00:00
Vadim Zeitlin
f74172ab42
extracted common code into a single wxfileDialogBase class (patch 758901)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:22:05 +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
Mattia Barbon
222ed1d678
STL-ification patch for wxMSW and wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:55:12 +00:00
Julian Smart
fda7962d02
Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:36:14 +00:00
Vadim Zeitlin
b600ed1362
wxFileDialog cleanup, extracted common code to fldlgcmn.cpp (patch 754187)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:31:49 +00:00
Julian Smart
8ad9ca97bb
Don't prepend directory to filename for shortcuts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 09:20:42 +00:00
Julian Smart
6c9a19aaba
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Julian Smart
b4da152ea3
Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Chris Elliott
04d93c3a59
UNC fix to directory path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 08:41:34 +00:00