WxConfig

From WxWiki

Jump to: navigation, search

[edit] Disambiguation

This page is about the wxConfig class. There is also a page about the Wx-Config tool which is useful when building on Unix-like systems.

[edit] Overloaded Functions

The read and write functions are overloaded. You need to include L to specify long.

[edit] Warnings

  • wxConfig always expands expressions of the form $VAR (under Unix and Windows) but under Windows it also expands %VAR%. If you want portability, use the Unix notation everywhere.
  • The overloads for reading boolean values expect the strings "0" or "1", not "true" or "false" as one might think.
Personal tools