From: Mark D. <mar...@zn...> - 2007-05-02 23:23:04
|
Hi, Attached patch adds some missing methods and constants to Wx::Font plus one missing method to Wx::ScrolledWindow. Tested on VC6/wxMSW & gcc/wxGTK It is a straightforward wrap of the methods / constants. One thing is that wxFont has an overloaded static method - 'New'. I need this because I want to create fonts via pixel sizes in wxMSW, and have the same method at least run on wxGTK. I have left the method as Wx::Font->New, because that agrees with the docs. However, I'm not sure if that will confuse too much against Wx::Font->new. I thought, on balance, it is best if the interface is as close to the docs as possible. Regards Mark |