X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae8b97cf4ba6dc8c6bca5e76744c6dccb1ebbb59..bab537dc3777d39314b28424890ac8048efcf49f:/docs/html/standard.htm diff --git a/docs/html/standard.htm b/docs/html/standard.htm index 15ee6ef106..6cc90a9062 100644 --- a/docs/html/standard.htm +++ b/docs/html/standard.htm @@ -71,6 +71,7 @@ C++ portability guide by David Williams.
  • Avoid carriage returns in cross-platform code
  • Use only lower letter filenames
  • Terminate the files with a new-line
  • +
  • Avoid globals differing by case only

  • Style choices
  • @@ -104,8 +105,7 @@ C++ portability guide by David Williams.
  • More about naming conventions
    1. Use wx or WX prefix for all public symbols
    2. -
    3. Use WXDLLEXPORT with all classes/functions in - wxMSW/common code
    4. +
    5. Use WXDLLEXPORT with all classes/functions in wxMSW/common code
    6. Use Set/Get prefixes for accessors
    7. wxNAMING_CONSTANTS
    @@ -577,6 +577,13 @@ While DOS/Windows compilers don't seem to mind, their Unix counterparts don't like files without terminating new-line. Such files also give a warning message when loaded to vim (the Unix programmer's editor of choice :-)), so please think about terminating the last line. + +

  • Avoid globals differing by case only
  • +The linker on VMS is case-insensitive. Therefore all external variables and +functions which differ only in case are not recognized by the linker as +different, so all externals should differ in more than the case only: +i.e. GetId is the same as . +