0

Hi
What i am trying to do is make a wx.FileDialog() show Import as the label on the button. I know you can change it to such things as open and save but i cant find a way to let me change it to a label saying import.

Any help would be greatly appreciated. :)

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by sneekula
0

The widget wx.FileDialog() is most likely in the core DLL of wx, which is written and compiled C++. So the button label of the widget itself cannot be altered without going back to the C++ source code and recompiling. Not a task for the faint at heart.

You could however write a custom file dialog using wx.Dialog() yourself and use that.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.