adjust racket/gui/base' to re-export file/resource'

Merge to 5.1 along with b4ce4bb, 3375005, 18eb7c8, 3c4807f
This commit is contained in:
Matthew Flatt 2011-02-04 13:33:37 -07:00
parent 3c4807f032
commit 5eeec97878
4 changed files with 19 additions and 5 deletions

View File

@ -91,6 +91,7 @@ get-panel-background
get-ps-setup-from-user
get-highlight-background-color
get-highlight-text-color
get-resource
get-text-from-user
get-the-editor-data-class-list
get-the-snip-class-list
@ -210,4 +211,5 @@ window<%>
write-editor-global-footer
write-editor-global-header
write-editor-version
write-resource
yield

View File

@ -5,6 +5,7 @@
make-base-empty-namespace)
scheme/class
racket/draw racket/snip
file/resource
mzlib/etc
(prefix wx: "kernel.ss")
(prefix wx: "wxme/editor.ss")
@ -169,7 +170,8 @@
[else #f])))
(provide (all-from racket/draw)
(all-from racket/snip))
(all-from racket/snip)
(all-from file/resource))
(provide button%
canvas%

View File

@ -10,7 +10,8 @@
@defmodule*/no-declare[(racket/gui/base)]{The
@racketmodname[racket/gui/base] library provides all of the class,
interface, and procedure bindings defined in this manual, in addition
to the bindings of @racketmodname[racket/draw].}
to the bindings of @racketmodname[racket/draw] and
@racketmodname[file/resource].}
@defmodulelang*/no-declare[(racket/gui)]{The
@racketmodname[racket/gui] language combines all bindings of the

View File

@ -156,12 +156,21 @@ jump-defeating `dynamic-wind' that formerly guarded callbacks has been
removed.
Registry Functions
-----------------
The `get-resource' and `write-resource' functions have moved to a
`file/resource' library that is re-exported by `racket/gui/base'.
These function now work only for reading and writing the Windows
registry; they report failure for other platforms and modes.
Removed Functions
-----------------
The `write-resource, `get-reource', and `send-event' functions have
been removed from `racket/gui/base'. If there is any demand for the
removed functionality, it will be implemented in a new library.
The `send-event' function has been removed from `racket/gui/base'. If
there is any demand for the removed functionality, it will be
implemented in a new library.
The `current-ps-afm-file-paths' and `current-ps-cmap-file-paths'
functions have been removed, because they no longer apply. PostScript