Commit Graph

7551 Commits

Author SHA1 Message Date
Václav Slavík
122e8c139e changed wxListMainWindow::m_lines from wxList to wxObjArray --> performance gain
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 16:16:40 +00:00
Vadim Zeitlin
a7798d1ce7 fixed facename comparison inwxFontList::FindOrCreateFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 11:03:51 +00:00
Vadim Zeitlin
71462b226d use 3 digits for milliseconds by default in Format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 07:56:26 +00:00
Vadim Zeitlin
1362e5d0a0 wxUSE_ZLIB_H_IN_PATH added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 07:29:12 +00:00
Vadim Zeitlin
3dd8eab441 some mingw32 warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 07:12:20 +00:00
Vadim Zeitlin
792a17440e fixed ToDouble/Long desc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 06:54:15 +00:00
Vadim Zeitlin
2e18172773 minor changes here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 22:04:57 +00:00
Vadim Zeitlin
41c3173dde tests for dclick on button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 22:00:20 +00:00
Vadim Zeitlin
0955d39bd0 ms resolution wxDateTime tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 21:57:37 +00:00
Vadim Zeitlin
06ca83c4ee some explanation text in thel ines screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 21:56:53 +00:00
Vadim Zeitlin
948f1f2b77 1. fixed bug with the accels in sub menus not working
2. fixed minor bugs in wxCmdLineParser, underscores and digits are now allows
   in the option names
3. made wxGetLocalTimeMillis() public, documented it and other time functions,
   added wxDateTime::UNow(), also "%l" format specificator in
   wxDateTime::Format()
4. fixed fatal bug in wxTimeSpan::Format()
5. fixed nice bug in wxDateTime::Subtract(wxDateTime) which returned the result
   with the wrong sign


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 21:48:22 +00:00
Václav Slavík
888b22c897 modified status of Czech translation to DONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 18:25:24 +00:00
Václav Slavík
ae519b8df7 fixed problems with translating titles for wxLogGui/wxLogDialog (no reentrancy danger)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-01 12:01:50 +00:00
Julian Smart
b024dc9b26 Oops, test for parent being NULL in DoModalShow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-30 15:42:15 +00:00
Vadim Zeitlin
057327a687 fix for the previous fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-30 13:42:17 +00:00
Vadim Zeitlin
0e86e26936 unset the dialog as top level window in Destroy(), not in dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-30 13:38:08 +00:00
Jouk Jansen
c17d222122 Committing in .
VMS/GTK update

 Modified Files:
  Tag: WX_2_2_BRANCH
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-30 12:40:57 +00:00
Julian Smart
741ca84241 Fixed DoShowModal again, to check that the oldFocus object isn't dead.
Added integer handling for wxTextCtrls in wxGenericValidator.
Added virtual function to wxGenericDragImage so it can do _really_ smooth
dragging under app control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-29 20:28:53 +00:00
Václav Slavík
97d80a31a7 updated Czech catalogue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 18:27:07 +00:00
Václav Slavík
177903e236 wxPrintPaperType::GetName now uses wxGetTranslation to obtain correct paper name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 18:26:54 +00:00
Václav Slavík
94aaac5f83 list of papers now uses wxTRANSLATE() instead of _()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 18:26:46 +00:00
Stefan Neis
2ebbd666d9 Fix for hiding cell edit control that actually is smaller than a cell.
Use CellToRect in to more places instead of doing the same thing by hand.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 16:47:06 +00:00
Václav Slavík
0e591a96d8 wxHtmlWindow: fixed passing flags to wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 15:56:38 +00:00
Vadim Zeitlin
e1ce4782d4 added some extra comparison operators to fix Sun CC 5.0 compilation to wxLongLongWx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 15:49:53 +00:00
Vadim Zeitlin
e554697812 added missing parameters to some GetPageXXX()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 12:19:35 +00:00
Vadim Zeitlin
2bde25b093 fixed (and documented) wxColourDialog::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 11:12:40 +00:00
Julian Smart
0c3e16933d Altered default wxTextCtrl height; removed wx_msw from cube.cpp;
widened a couple of controls in resource sample; changed a BC++ test
in longlong.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 07:37:27 +00:00
Ron Lee
09d7c0f79e fix for (re)setting a control to the system default colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 03:50:18 +00:00
Julian Smart
8064dd594d Fixed C++ comments, sorry about that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-27 19:54:58 +00:00
Ron Lee
b0f0a3bd19 typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-27 15:53:09 +00:00
Vadim Zeitlin
b6ab93c400 fixed wxColour::operator!=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-27 10:27:09 +00:00
Vadim Zeitlin
a750cce7a5 1. added wxFont::GetHFONT() const (GetResourceHandle() is not const...)
2. added GetHfont[Of] convenience macros to msw/private.h
3. wxWindow::GetCharWidth/Height() now use correct font


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-27 10:22:06 +00:00
Julian Smart
9e677ba35c What I predicted has come to pass :-) wxMSW wxDialog::DoShowModal crashes
when m_oldFocus has been destroyed, so we check the HWND with ::IsWindow.
Also some setup.h, makefile and TIFF library changes for Watcom compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-26 12:02:55 +00:00
Robert Roebling
4d32dae4fe Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-24 14:46:14 +00:00
Robert Roebling
551490e542 Updated changes.txt,
Removed use of Build Root Dir in wxGTK.spec,
  Small correction to tiff code,
  Added more tests (for Peek()) to stream tests
    in typetest sample,
  Fixed bug in wxTextInputStream::ReadWord()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-24 14:25:00 +00:00
Julian Smart
7aed63fdb7 Fixed docview crash bug when On... functions return FALSE.
Fixed valgen.cpp to cope with strings in wxChoice/wxComboBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-24 08:05:21 +00:00
Robin Dunn
1ac341e016 Added wxLog and friends to wxPython
Various odds and ends


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-24 00:28:54 +00:00
Vadim Zeitlin
46f2e76b49 corrected Baltic encoding handling (patch from Nerijus <nerijus@sat.lt>)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 15:10:04 +00:00
Robert Roebling
ed55d1091b Added new TIFF code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 08:38:24 +00:00
Vadim Zeitlin
6b59747c47 added a note about new C++ logical operators keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 08:37:54 +00:00
Vadim Zeitlin
c446668e29 fixes for compilers with weird isprint()/isdigit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 08:10:57 +00:00
Vadim Zeitlin
9393e156ef fix for branch 'auto-collapse'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 08:04:54 +00:00
Vadim Zeitlin
00ce683fb0 Sun CC 5.0 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 07:57:43 +00:00
Vadim Zeitlin
da872f02a5 undef inline before redefining it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 07:50:54 +00:00
Vadim Zeitlin
26eb0ba5b8 fixed "missing" initial resize of wxMDIChildFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 21:10:38 +00:00
Václav Slavík
2ed1896868 added comment about setlocale() behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 18:53:23 +00:00
Julian Smart
1008a84515 Fixed missing hotspot code; fixed misspelling in setup0.h; added missing
consts to wxPoint operators


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 14:09:18 +00:00
Vadim Zeitlin
d1016f9826 HP-UX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 12:12:44 +00:00
Vadim Zeitlin
7669ba3c67 1. wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
2. wxGridCellEditor::IsAcceptedKey() added and implemented
3. no changes in other files (but cvs wants to commit them)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 09:15:59 +00:00
Michael Bedward
3ffdc4cfeb Stupid error in my last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 09:13:29 +00:00