Skip to content

Commit

Permalink
Merge pull request #33 from MHOOO/develop
Browse files Browse the repository at this point in the history
- add ConfigureWidget impl for java.awt.Component
  • Loading branch information
daveray committed Jun 2, 2011
2 parents bf96a2b + 8921908 commit ea00c70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/seesaw/core.clj
Expand Up @@ -507,6 +507,10 @@
(extend-type java.util.EventObject ConfigureWidget
(config* [target args] (config* (to-widget target false) args)))

(extend-type java.awt.Component ConfigureWidget
(config* [target args]
(reapply-options target args default-options)))

(extend-type javax.swing.JComponent ConfigureWidget
(config* [target args]
(reapply-options target args default-options)))
Expand Down

0 comments on commit ea00c70

Please sign in to comment.