Václav Slavík
8650108199
don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:42:41 +00:00
Vadim Zeitlin
b4a980f4f5
don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:23:19 +00:00
Julian Smart
e7b21b01fe
Use the associated document manager, not the global one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 13:55:26 +00:00
Paul Cornett
ffdbfc4a76
remove inline from declaration of functions which are not inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 19:49:10 +00:00
Paul Cornett
0c246b3ca3
add Create to wxDocParentFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 17:53:06 +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
Włodzimierz Skiba
59cf2e4999
Include wx/mdi.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 20:19:29 +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
Włodzimierz Skiba
246c5004eb
Include wx/msgdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 07:07:23 +00:00
Włodzimierz Skiba
8ecff18117
Include wx/list.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 07:31:44 +00:00
Włodzimierz Skiba
0f30d8e39e
Fixed using list of wildcards in filter of wxDocTemplate.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 19:53:31 +00:00
Włodzimierz Skiba
faa49bfd39
Get/SetTitle only for wxTopLevelWindow (wxMSW part).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 16:47:29 +00:00
Michael Wetherell
4a10ea8b13
Warning fixes for win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:08:05 +00:00
Vadim Zeitlin
f1afd2e066
fix hiding a local variable by another one in the inner scope
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:51:07 +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
Vadim Zeitlin
53e2e87c9b
open fstream with ios::binary flag to be compatible with wxFileStream and to avoid mangling binary files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-26 22:52:29 +00:00
Vadim Zeitlin
28ea89b62b
handle '&' in the names of the files in the history correctly by quoting it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 23:10:46 +00:00
Vadim Zeitlin
64c12a6d55
use wxLogError() instead of wxMessageBox in wxDocument::DoOpenDocument(), otherwise the error message don't appear in correct order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 16:13:19 +00:00
Julian Smart
f5729a6bca
Applied patch [ 1171467 ] Fix for DocManager not checking OnNewDocument's return value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:40:41 +00:00
Julian Smart
6489e7ee02
Applied patch [ 1163322 ] Patch to prevent MDI app from opening the same file twice
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:35:07 +00:00
Vadim Zeitlin
407020995e
1. undid the "simplification" of patch 1096066 which resulted in a crash
...
(see this patch discussion)
2. check that all views agree to close before starting to delete them
3. commented the code so that the next poor soul looking at it will know
that deleting a view can delete the document which deletes -- surely
wasn't obvious to me...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 13:45:31 +00:00
Włodzimierz Skiba
b494c48b31
.empty() string cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-01 19:37:36 +00:00
Vadim Zeitlin
8af94d3bf1
reset m_currentView in wxDocManager::Clear() (patch 1106872)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 22:34:38 +00:00
Vadim Zeitlin
d5a93fda41
apparently unneeded temporary iterator variable removed (patch 1096066)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 22:15:11 +00:00
Robert Roebling
b45dfd0a8b
Moved the wxPageSetupDialogData <-> native conversion
...
code for MSW to the appropriate file in src/msw/printdlg.cpp
Removed the now obsolete printer setup dialog code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 23:43:41 +00:00
Włodzimierz Skiba
1b941f2d31
Warning fixes for OpenWatcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Włodzimierz Skiba
68379eaf0a
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 12:56:07 +00:00
Vadim Zeitlin
69936aea19
added DoCreate/Load/SaveDocument() (patches 983570 and 983571)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:42:11 +00:00
Włodzimierz Skiba
a2a03d7864
wxUSE_STL/wxArrayString fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 14:33:01 +00:00
Mattia Barbon
98c627a498
Compilation fix for wxUSE_STL == 1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:47:41 +00:00
Julian Smart
041295149d
If several doc templates use the same document and view classes, they should
...
share their filters in Save As
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 19:04:16 +00:00
Julian Smart
217b71400f
Separated creation and initialisation of a document via its doc template.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:19:39 +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
Julian Smart
3f8b4a3fbe
Applied [ 872574 ] fix of fatal error of preview without printer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 08:29:59 +00:00
Vadim Zeitlin
999836aaca
warning fixes for BCC and OW (heavily modified patch 819146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +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
Mattia Barbon
d2e70462f1
Fix for crash when wxUSE_STL=1. wxDocument::DeleteAllViews might
...
delete "this", together with the list it is iterating over.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 19:44:47 +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
Vadim Zeitlin
18759f7850
applied an extended version of patch 685795: clean up view [de]activation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:32:35 +00:00
Vadim Zeitlin
427716213f
deTABified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:28:34 +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
Julian Smart
34aa61407a
Fixed bug [ 749471 ] wxDocument with no command processor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:03:47 +00:00
Vadim Zeitlin
7af6b69e74
wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 00:02:58 +00:00
Julian Smart
9d4a05be9b
Applied some of patch [ 622660 ] consistent behaviour for docview.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 11:44:40 +00:00
Julian Smart
7a311019db
Corrected a memory leak I introduced in the last patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:49:07 +00:00
Julian Smart
b72b192036
Implemented delayed closing of an existing document
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 15:40:39 +00:00
Vadim Zeitlin
8c9564b392
fixed yet another printf() format warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 02:11:12 +00:00
Vadim Zeitlin
a25d51afbc
fixed a printf() format warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 01:48:17 +00:00
Julian Smart
55d99c7a77
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:28:33 +00:00