title: Strange behavior in Nebula CDateTime
body: <p>I am trying to CDateTime as a cell editor for my swt table control. When I run a standalone CDateTime sample (from <a href="http://git.eclipse.org/c/nebula/org.eclipse.nebula.git/tree/widgets/cdatetime/org.eclipse.nebula.widgets.cdatetime.snippets/src/org/eclipse/nebula/widgets/cdatetime/snippets/CDTSnippet02.java" rel="noreferrer">here</a>), this is what it looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/JDVAw.png" alt="Regular CDT behavior"></p>
  
  <p>The CDateTime is created like this:</p>
  
  <pre><code>final CDateTime cdt = new CDateTime(shell, CDT.DROP_DOWN | CDT.DATE_SHORT | CDT.COMPACT);
  cdt.setSelection(new Date());
  </code></pre>
  
  <p>Notice the icon that is causing the drop down - it looks like a calendar. You can see the month/year, and there are 2 arrow buttons and a "today" button in the left corner of the header. The date is also written into the textbox correctly when you select a date.</p>
  
  <p>However, when I try to add it as a cell editor, this is what it looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/9YieC.png" alt="CDateTime as a cell editor"></p>
  
  <p>Notice that the icon is different and the header parts are different. Also notice how I selected a date and get this weird number - with a month of 32! - in the text box. When the popup goes away, the date is correct, but this strange behavior looks odd and is worrying.</p>
  
  <p>I created the CDateTime like this:</p>
  
  <pre><code>    final int style = getStyle() | CDT.DATE_SHORT | CDT.DROP_DOWN | CDT.COMPACT ;
      this.dateTime = new CDateTime(parent, style);
      this.dateTime.setPattern("mm/dd/yyyy");
  </code></pre>
  
  <p>What am I doing wrong?</p>