I recently built a static executable that linked
to a static Tk library (not a dll). Things seemed
to work except for checkbuttons and related widgets.
The problem was that my executable needed to also
link in resources that were part of Tk build are
not included in the static library. The Tk code
was not a lot of help since it just silently did
the wrong thing. I think this patch will fix it
by calliung panic() if someone runs into this case
in the future. This should not change anything
about wish.exe or tk.dll, it should only matter
when someone links to a static version of Tk.
Mo DeJong
Patch for buttons resource
Logged In: YES
user_id=72656
This looks like a valid patch - although it would be nice to
not require our core drawing of buttons be in resources (in
a bitmap file). Tile doesn't need this ... we shouldn't
either (but I'm not going to code that fix :/ ).