11 |
* WinPT is distributed in the hope that it will be useful, |
* WinPT is distributed in the hope that it will be useful, |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
* GNU General Public License for more details. |
* GNU General Public License for more details. |
|
* |
|
|
* You should have received a copy of the GNU General Public License |
|
|
* along with WinPT; if not, write to the Free Software Foundation, |
|
|
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
15 |
*/ |
*/ |
16 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
17 |
#include <config.h> |
#include <config.h> |
24 |
#include "resource.h" |
#include "resource.h" |
25 |
#include "wptCommonCtl.h" |
#include "wptCommonCtl.h" |
26 |
#include "wptContext.h" |
#include "wptContext.h" |
|
#include "wptDlgs.h" |
|
27 |
#include "wptTypes.h" |
#include "wptTypes.h" |
28 |
|
|
29 |
|
|
33 |
{ |
{ |
34 |
static date_s *udd; |
static date_s *udd; |
35 |
|
|
36 |
switch( msg ) { |
switch (msg) { |
37 |
case WM_INITDIALOG: |
case WM_INITDIALOG: |
38 |
udd = (date_s *)lparam; |
udd = (date_s *)lparam; |
39 |
if (!udd) |
if (!udd) |