Commit Graph

8334 Commits

Author SHA1 Message Date
Vadim Zeitlin
4e6322e0e5 added OnSize() to wxNotebook which forwards size events to the pages: fixes
the layout problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-23 16:28:49 +00:00
Julian Smart
46851318fe Corrected problem with MDI children not refreshing (removed WS_CLIPCHILDREN).
Double-fixed the LEAVE/ENTER bug...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-23 10:29:23 +00:00
Julian Smart
ab22cb9a01 Removed deletion of m_selections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:53:39 +00:00
Julian Smart
f0edd8249f Removed Scanf, Scanfv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:52:43 +00:00
Julian Smart
607d906178 Added more flags to resource.cpp, #ifdefed out ScanfV for Windows, some
grid typo fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:48:22 +00:00
Julian Smart
1c089c47f3 Cured problem introduced by LEAVE/ENTER OnIdle code; bugs in gauge sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:43:48 +00:00
Julian Smart
565215b26a Added wxCLIP_CHILDREN style (mainly for getting rid of flicker), other minor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:27:14 +00:00
Vadim Zeitlin
f54f3bffce attempt to clean up a little keyboard handling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:25:07 +00:00
Vadim Zeitlin
1311c7a9bb wxCHECK/wxCHECK_RET changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:17:39 +00:00
Vadim Zeitlin
a539b39f6b wxCHECK change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:17:15 +00:00
Vadim Zeitlin
144833307d GetSelections() changed to work with wxArrayInt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:09:38 +00:00
Vadim Zeitlin
1d7929284e now compiles with USE_XPM_IN_MSW on, added error messages if bitmap can't
be loaded/saved


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:07:55 +00:00
Vadim Zeitlin
8abf40fbb9 VC++ warning suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:06:42 +00:00
Vadim Zeitlin
9efd3367c0 wxString::Scanf() removed because can't be implemented portably
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:04:23 +00:00
Vadim Zeitlin
e9c7dfb9b5 now compiles with USE_XPM_IN_MSW on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:03:20 +00:00
Vadim Zeitlin
937d4f4d31 bug in SplitPath() corrected - now ".." handled correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:58:31 +00:00
Vadim Zeitlin
7f17c6dbbf wxListbox::GetSelections() now takes a wxArrayInt instead of "int **"
(as under wxGTK)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:54:19 +00:00
Vadim Zeitlin
d736364315 now compiles with USE_XPM_IN_MSW on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:53:24 +00:00
Vadim Zeitlin
0f03d24f30 Oops... just added wxString::Scanf() functions can't be implemented under
Windows. Removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:51:27 +00:00
Vadim Zeitlin
6a415c9a1f #include "wx/msw/notebook" added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:50:11 +00:00
Vadim Zeitlin
2283a22c2d wxLogWindow::GetOldLog() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:48:53 +00:00
Vadim Zeitlin
1db08b2baf wxCHECK macros slightly changed: wxCHECK( expr, rc ) now returns rc if
expr is FALSE and wxCHECK_RET( expr ) must be used in void functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 21:47:38 +00:00
Karsten Ballüder
5ebd1fb227 fixed #pragma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 14:40:59 +00:00
Karsten Ballüder
1f0299c17d fixed #include paths to use local copies of png/gdk_imlib/zlib headers
fixed compiler warning in time.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 12:47:56 +00:00
Guilhem Lavaux
bdc6fff9ea * Added $(THREADS_LINK) to $(LINK_LIBS) so all programs can be linked.
* Updated the thread detected (pthread-0.7, pthread, pthreads)
* Added --without-threads to disable threads


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-20 10:25:12 +00:00
Vadim Zeitlin
9fd239ad61 put wxMessageBox() arguments in OnAssert() in the right order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-19 15:55:51 +00:00
Karsten Ballüder
6367c8394c fixed stupid compiler warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-19 12:35:36 +00:00
Vadim Zeitlin
4bf58c62d2 changed the notebook control to use AddPage() interface (Julian's version
didn't work at all) andupdated the sample to work with it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 16:59:18 +00:00
Julian Smart
5bfe9bbc65 Fixed SetSelection, GetSelection for Portrait/Landscape selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 14:01:07 +00:00
Karsten Ballüder
40a97c003c another typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 13:40:24 +00:00
Karsten Ballüder
46bada707d added notebook.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 13:26:19 +00:00
Karsten Ballüder
3fc5256f83 fixed wrong scanf() arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 13:26:02 +00:00
Vadim Zeitlin
c8cfb486fb 1) Right(char ch) now returns the part of the string after the last
occurence of ch _without_ ch itself (like Left(char ch))
2) Added wxString::Scanf() and wxString::ScanfV()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 13:20:42 +00:00
Vadim Zeitlin
b841e0e379 wxFileConfig bugs corrected (now the new entries belong to the right groups)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-18 13:07:58 +00:00
Guilhem Lavaux
82052affa7 * Hope this is the last bug fix in the wxThread merge ...
* configure updated
* some function added in utilsgtk.cpp (wxSleep, wxKill)
* wxThread sample v0.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-16 17:17:02 +00:00
Vadim Zeitlin
d1c9bbf64d "-1" index error in wxString::Before fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-16 12:41:33 +00:00
Guilhem Lavaux
8d31c13865 * Corrected #include "thread.h" => #include "wx/thread.h"
* Corrected the joystick.h detection stuff in configure.in


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-15 17:21:07 +00:00
Karsten Ballüder
f5bf3b9509 changed GetSelections() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-15 12:06:39 +00:00
Julian Smart
8aadf22734 Experimental notebook API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-15 09:21:45 +00:00
Julian Smart
38009d396d Corrected some problems I introduced, added tabevent.tex.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-15 07:57:40 +00:00
Vadim Zeitlin
b5f2afe541 wxNotebook interface (it may change!), implementation file is not yet
commited - I will do as soon as the interface is fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 23:16:19 +00:00
Vadim Zeitlin
28bfeb7353 added notebook events: wxEVT_COMMAND_NOTEBOOK_PAGE_CHANG(ED|ING)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@99 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 23:13:36 +00:00
Vadim Zeitlin
ec845369d5 added ctor wxColour(unsigned long colRGB) and the corresponding Set()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@98 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 23:08:53 +00:00
Julian Smart
e5fb7191bb Added #define wxHelpController to help.h; added wxWinHelpController::Quit code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@97 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 20:53:26 +00:00
Julian Smart
89a51b2e38 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@96 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 20:52:08 +00:00
Julian Smart
fe604ccddc Various documentation additions and changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@95 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 20:48:39 +00:00
Guilhem Lavaux
b89156b5db * Thread updates and cleanup (m_locked, MUTEX_UNLOCKED added)
* Updated the documentation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@94 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 15:28:28 +00:00
Julian Smart
ee4f8c2af9 const/void changes in thread, tabctrl and wave files; wxTabCtrl::InsertItem
now returns bool not int.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@93 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 12:15:13 +00:00
Julian Smart
eaaa6a06a2 Changed documentation const convention for non-objects; added some manual files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@92 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 12:11:50 +00:00
Julian Smart
4efd74436a Corrected missing pipe in treectrl.h, wxOK->wxID_OK in wxGetTextFromUser,
no offsets in 2 functions in wxDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@91 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 08:53:46 +00:00