acuiListBox.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #ifndef _acuiListBox_h
  11. #define _acuiListBox_h
  12. #pragma pack (push, 8)
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CAcUiListBox window
  18. /*
  19. class ACUI_PORT CAcUiListBox : public CAdUiListBox {
  20. // DECLARE_DYNAMIC(CAcUiListBox);
  21. public:
  22. CAcUiListBox ();
  23. virtual ~CAcUiListBox ();
  24. // ClassWizard-controlled
  25. public:
  26. //{{AFX_VIRTUAL(CAcUiListBox)
  27. //}}AFX_VIRTUAL
  28. protected:
  29. //{{AFX_MSG(CAcUiListBox)
  30. //}}AFX_MSG
  31. DECLARE_MESSAGE_MAP()
  32. };
  33. */
  34. //typedef CAdUiListBox CAcUiListBox;
  35. //The first release (2/2002) of the VC7 compiler has
  36. //a bug that causes the above typedef not to work
  37. //properly in certain situations.
  38. //Here's some minimal code that demonstrates the problem.
  39. //If/when they fix the problem we can go back using
  40. //the typedef.
  41. /*
  42. class A
  43. {
  44. protected:
  45. static void f() {}
  46. };
  47. typedef A B;
  48. class C : public B
  49. {
  50. static void* p;
  51. };
  52. void * C::p = &B::f; //error C2248: 'A::f' : cannot access protected member declared in class 'A'
  53. void main()
  54. {
  55. }
  56. */
  57. #define CAcUiListBox CAdUiListBox
  58. /////////////////////////////////////////////////////////////////////////////
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  61. #pragma pack (pop)
  62. #endif
  63. /////////////////////////////////////////////////////////////////////////////