Menu

#208 Patch to panic if Tk button resources not found

open
5
2005-12-10
2005-12-10
Mo DeJong
No

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

Discussion

  • Mo DeJong

    Mo DeJong - 2005-12-10

    Patch for buttons resource

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-12-14

    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 :/ ).

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.